summaryrefslogtreecommitdiff
path: root/gphoto2/gphoto2.h
diff options
context:
space:
mode:
authorMichael Fink <michael.fink@asamnet.de>2017-10-16 18:51:14 +0200
committerMichael Fink <michael.fink@asamnet.de>2017-10-16 18:51:14 +0200
commitaafca1e7263807ba905401ab776e3539a732197e (patch)
tree29d183e0c81a69028c69352e06df272efa0599b6 /gphoto2/gphoto2.h
parentb85051b356c84f0017fb1622edbf9b28a5c6105a (diff)
downloadlibgphoto2-aafca1e7263807ba905401ab776e3539a732197e.tar.gz
prevent redefining CAMLIBS and IOLIBS define that may already be defined in platform specific config.h file
Diffstat (limited to 'gphoto2/gphoto2.h')
-rw-r--r--gphoto2/gphoto2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gphoto2/gphoto2.h b/gphoto2/gphoto2.h
index bc78f6ab5..ac95a835a 100644
--- a/gphoto2/gphoto2.h
+++ b/gphoto2/gphoto2.h
@@ -38,9 +38,10 @@ extern "C" {
#endif
#ifdef WIN32
-#undef CAMLIBS
+#ifndef CAMLIBS
#define CAMLIBS "."
#endif
+#endif
#include <gphoto2/gphoto2-port.h>
#include <gphoto2/gphoto2-port-log.h>