- in libjpeg/jmorecfg.h:
error: conflicting declaration 'typedef short int UINT8'
error: conflicting declaration 'typedef unsigned int UINT16'
The fix used might break on MSVC, should be improved if need be.
- in OpenGL_Windows.cpp:
error: '_argc' was not declared in this scope
error: '_argv' was not declared in this scope
#define TARGA_SUPPORTED /* Targa image file format */
#endif /* JPEG_CJPEG_DJPEG */
+#define HAVE_UNSIGNED_CHAR
+#define HAVE_UNSIGNED_SHORT
Boolean gDone = false;
-#ifndef __MINGW32__
static int _argc = 0;
static char **_argv = NULL;
-#endif
bool cmdline(const char *cmd)
{
int main(int argc, char **argv)
{
-#ifndef __MINGW32__
_argc = argc;
_argv = argv;
-#endif
// !!! FIXME: we could use a Win32 API for this. --ryan.
#ifndef WIN32