ref: a54c8df662d4ab88afef6fcaa6c324030224d77d
parent: 6ef4989dcc7b51c9e8565258aa2a8a63e43d6b35
author: hintak <hintak@a1074d23-0009-0410-80fe-cf8c14f379e6>
date: Sat May 15 02:27:41 EDT 2010
try to make 'make -f base/unix-gcc.mak so' work When not run through ./configure, HAVE_CONFIG_H isn't defined and the jbig2 codes drop through to generic unknown unix platform - so we put some generic unix values here. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk/gs/jbig2dec/@11254 a1074d23-0009-0410-80fe-cf8c14f379e6 (cherry picked from commit 27d16d20f97555d2874d9f04b374053ccd0731b7) Signed-off-by: Masaki Ushizaka <masaki@ghostscript.com>
--- a/os_types.h
+++ b/os_types.h
@@ -40,6 +40,13 @@
# include "config_types.h"
#elif defined(_WIN32) || defined(__WIN32__)
# include "config_win32.h"
+#else
+ typedef unsigned char uint8_t;
+ typedef unsigned short uint16_t;
+ typedef unsigned int uint32_t;
+ typedef signed char int8_t;
+ typedef signed short int16_t;
+ typedef signed int int32_t;
#endif
#if defined(HAVE_STDINT_H) || defined(__MACOS__)