diff options
author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2021-10-03 16:26:19 +0200 |
---|---|---|
committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2021-10-03 16:29:32 +0200 |
commit | aa9e8de8af1f6572d268f1cf7b0363738ec73430 (patch) | |
tree | 2dcaf19223f7d19d8c323e5fa830d0b43ccb5ee0 /libgphoto2_port | |
parent | fff4648b083381de36e75b82868e7adabe5d6001 (diff) | |
download | libgphoto2-aa9e8de8af1f6572d268f1cf7b0363738ec73430.tar.gz |
fix broken check of CPP macro definition after #elif
Fix broken check of CPP macro definition after #elif.
The fact that this has not been caught yet is indicative
of this configuration probably being relatively rare.
Diffstat (limited to 'libgphoto2_port')
-rw-r--r-- | libgphoto2_port/libgphoto2_port/gphoto2-port-version.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgphoto2_port/libgphoto2_port/gphoto2-port-version.c b/libgphoto2_port/libgphoto2_port/gphoto2-port-version.c index 10724ab0f..56c517c79 100644 --- a/libgphoto2_port/libgphoto2_port/gphoto2-port-version.c +++ b/libgphoto2_port/libgphoto2_port/gphoto2-port-version.c @@ -56,9 +56,9 @@ const char **gp_port_library_version(GPVersionVerbosity verbose) #ifdef HAVE_RESMGR "resmgr locking", -#elif HAVE_TTYLOCK +#elif defined(HAVE_TTYLOCK) "ttylock locking", -#elif HAVE_LOCKDEV +#elif defined(HAVE_LOCKDEV) "lockdev locking", #else "without locking", |