#undef DEBUG_OVERFLOW
#endif
+#if defined(_MSC_VER) && _MSC_VER < 1300
+# pragma warning ( disable : 4761 ) /* integral size mismatch in argument; conversion supplied */
+#endif
+
/* Define to 1 if you have the <dlfcn.h> header file. */
#cmakedefine HAVE_DLFCN_H
/* #define ssize_t int */
#endif /* HAVE_SYS_TYPES_H */
+/* check how the compiler implement the return of malloc(0) */
+/* jasper does not support the case where it returns NULL */
+#cmakedefine NULL_ON_MALLOC_0
#cmakedefine JASPERSTATIC
#cmakedefine JASPERDLL
-/* a function referenced thru EXTERNs: */
+/* a function referenced thru JASEXTERNs: */
#if defined( _WIN32 ) && defined (JASPERDLL)
-#define GLOBAL(type) __declspec(dllexport) type
+#define JASGLOBAL(type) __declspec(dllexport) type
#else
-#define GLOBAL(type) type
+#define JASGLOBAL(type) type
#endif
-/* a reference to a GLOBAL function: */
+/* a reference to a JASGLOBAL function: */
#if defined(_WIN32) && !defined(JASPERSTATIC)
#ifdef JASPERDLL
-#define EXTERN(type) __declspec(dllexport) type
+#define JASEXTERN(type) __declspec(dllexport) type
#else
-#define EXTERN(type) __declspec(dllimport) type
+#define JASEXTERN(type) __declspec(dllimport) type
#endif
#else
-#define EXTERN(type) extern type
+#define JASEXTERN(type) extern type
#endif