summaryrefslogtreecommitdiff
path: root/codec
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2011-03-04 11:21:45 +0000
committerAntonin Descampe <antonin@gmail.com>2011-03-04 11:21:45 +0000
commit91ce5625b5a60e8675a879b3dc5a9ddd8b01a53f (patch)
tree354b424f9ce0eadac9584d5b40202181f398c117 /codec
parenta3df1f5c5ed930c019dd7d6b383bb45fb7f1953b (diff)
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.
Diffstat (limited to 'codec')
-rw-r--r--codec/windirent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/codec/windirent.h b/codec/windirent.h
index 037569df..6bcc7787 100644
--- a/codec/windirent.h
+++ b/codec/windirent.h
@@ -107,6 +107,8 @@
#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