summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPierre Joye <pierre.php@gmail.com>2021-08-28 11:39:13 +0700
committerPierre Joye <pierre.php@gmail.com>2021-08-28 11:39:13 +0700
commit0482d7a7e9392eb3cea5d1dab998886f5afdf11b (patch)
tree6d619d7bbb998714290537f2908e3ed65ac1cd4a /tests
parent51426ed2e98870dbbedb40735f5697c4dbb2637c (diff)
downloadlibgd-0482d7a7e9392eb3cea5d1dab998886f5afdf11b.tar.gz
MINGW32 or MINGW64
Diffstat (limited to 'tests')
-rw-r--r--tests/gdtest/gdtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gdtest/gdtest.c b/tests/gdtest/gdtest.c
index 33b263e..a902b64 100644
--- a/tests/gdtest/gdtest.c
+++ b/tests/gdtest/gdtest.c
@@ -27,7 +27,7 @@
#include "readdir.h"
#include <errno.h>
#endif
-#if defined(__MINGW32__) && defined(__MINGW64__)
+#if defined(__MINGW32__) || defined(__MINGW64__)
# define lstat stat
#endif
#include "gd_intern.h"