Browse Source

Auto-define JAS_WIN_MSVC_BUILD is we are using MSVC.

rude 12 years ago
parent
commit
bc9c89d171
1 changed files with 4 additions and 0 deletions
  1. 4 0
      libs/jasper-1.900.1/src/libjasper/include/jasper/jas_config.h

+ 4 - 0
libs/jasper-1.900.1/src/libjasper/include/jasper/jas_config.h

@@ -6,6 +6,10 @@
 #ifndef JAS_CONFIG_H
 #define JAS_CONFIG_H
 
+#if !defined(JAS_WIN_MSVC_BUILD) && defined(WIN32)
+#	define JAS_WIN_MSVC_BUILD
+#endif
+
 /* This preprocessor symbol identifies the version of JasPer. */
 #define	JAS_VERSION "1.900.1"
 /* If configure is being used, this symbol will be defined automatically