+ : added
March 4, 2011
+* [antonin] now assume MinGW does not have dirent.h (actually have it but without opendir function). Fixed also a WIN32 check in jp3d/libjp3dvm/openjpeg3d.h.
! [antonin] updated autotools files to improve build and install procedures (credit to Vincent Torri).
February 17, 2011
#if !defined(HAVE_DIRENT_H) && !defined(HAVE_DIRECT_H) && !defined(HAVE_SYS_DIR_H) && !defined(HAVE_NDIR_H) && !defined(HAVE_SYS_NDIR_H) && !defined(HAVE_DIR_H)\r
# if defined(_MSC_VER) /* Microsoft C/C++ */\r
/* no dirent.h */\r
+# elif defined(__MINGW32__) /* MinGW */\r
+ /* no dirent.h */\r
# elif defined(__BORLANDC__) /* Borland C/C++ */\r
# define HAVE_DIRENT_H\r
# define VOID_CLOSEDIR\r
#if !defined(HAVE_DIRENT_H) && !defined(HAVE_DIRECT_H) && !defined(HAVE_SYS_DIR_H) && !defined(HAVE_NDIR_H) && !defined(HAVE_SYS_NDIR_H) && !defined(HAVE_DIR_H)
# if defined(_MSC_VER) /* Microsoft C/C++ */
/* no dirent.h */
+# elif defined(__MINGW32__) /* MinGW */
+ /* no dirent.h */
# elif defined(__BORLANDC__) /* Borland C/C++ */
# define HAVE_DIRENT_H
# define VOID_CLOSEDIR
==========================================================\r
*/\r
\r
-#if defined(OPJ_STATIC) || !(defined(WIN32) || defined(__WIN32__))\r
+#if defined(OPJ_STATIC) || !defined(_WIN32)\r
#define OPJ_API\r
#define OPJ_CALLCONV\r
#else\r
OPJ_API functions as being imported from a DLL, wheras this DLL sees symbols\r
defined with this macro as being exported.\r
*/\r
-#ifdef OPJ_EXPORTS\r
+#if defined(OPJ_EXPORTS) || defined(DLL_EXPORT)\r
#define OPJ_API __declspec(dllexport)\r
#else\r
#define OPJ_API __declspec(dllimport)\r