Arch Blackmann confuses compiler with build environment in libjpeg too. No project is safe
modified libjpeg.rbuild
HAVE_CONFIG_H is only used in ansi2knr.c, which we don't build
added libjpeg.reactos.diff
Added patch files with changes from vendor drop
Yes, libjpeg now compiles with Visual C++, in case you were wondering
svn path=/trunk/; revision=42442
#if (defined (_MSC_VER) && (_MSC_VER >= 800))
#define HAVE_UNSIGNED_CHAR
#if (defined (_MSC_VER) && (_MSC_VER >= 800))
#define HAVE_UNSIGNED_CHAR
#define EXTERN(type) extern type __cdecl
#endif
#define EXTERN(type) extern type __cdecl
#endif
/* a function referenced thru EXTERNs: */
#define GLOBAL(type) type JPEG_API
/* a reference to a GLOBAL function: */
/* a function referenced thru EXTERNs: */
#define GLOBAL(type) type JPEG_API
/* a reference to a GLOBAL function: */
# define EXTERN(type) extern JPEG_IMPEXP type JPEG_API
/* a reference to a "GLOBAL" function exported by sourcefiles of utility progs */
#endif /* EXTERN */
# define EXTERN(type) extern JPEG_IMPEXP type JPEG_API
/* a reference to a "GLOBAL" function exported by sourcefiles of utility progs */
#endif /* EXTERN */
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<module name="libjpeg" type="win32dll" entrypoint="0" installbase="system32" installname="libjpeg.dll" allowwarnings="true" crt="msvcrt">
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<module name="libjpeg" type="win32dll" entrypoint="0" installbase="system32" installname="libjpeg.dll" allowwarnings="true" crt="msvcrt">
- <define name="HAVE_CONFIG_H" />
<define name="WIN32" />
<define name="_WINDOWS" />
<define name="_MBCS" />
<define name="WIN32" />
<define name="_WINDOWS" />
<define name="_MBCS" />
--- /dev/null
+Index: jmorecfg.h
+===================================================================
+--- jmorecfg.h (revision 42441)
++++ jmorecfg.h (working copy)
+@@ -24,7 +24,6 @@
+
+ #if (defined (_MSC_VER) && (_MSC_VER >= 800))
+ #define HAVE_UNSIGNED_CHAR
+-#define HAVE_ALL_INTS
+ #define EXTERN(type) extern type __cdecl
+ #endif
+