Prevent header from being included multiple times

This commit is contained in:
DRC
2011-05-24 09:15:44 +00:00
parent 3fbb13e0cd
commit 34e538a8ca

View File

@@ -26,6 +26,9 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef __TURBOJPEG_H__
#define __TURBOJPEG_H__
#if defined(_WIN32) && defined(DLLDEFINE) #if defined(_WIN32) && defined(DLLDEFINE)
#define DLLEXPORT __declspec(dllexport) #define DLLEXPORT __declspec(dllexport)
#else #else
@@ -772,3 +775,5 @@ DLLEXPORT int DLLCALL tjDecompress(tjhandle handle,
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif