Skip to content

Commit

Permalink
Prevent header from being included multiple times
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@623 632fc199-4ca6-4c93-a231-07263d6284db
  • Loading branch information
dcommander committed May 24, 2011
1 parent 0fc884a commit 3a1bb35
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions turbojpeg.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
* POSSIBILITY OF SUCH DAMAGE.
*/

#ifndef __TURBOJPEG_H__
#define __TURBOJPEG_H__

#if defined(_WIN32) && defined(DLLDEFINE)
#define DLLEXPORT __declspec(dllexport)
#else
Expand Down Expand Up @@ -772,3 +775,5 @@ DLLEXPORT int DLLCALL tjDecompress(tjhandle handle,
#ifdef __cplusplus
}
#endif

#endif

0 comments on commit 3a1bb35

Please sign in to comment.