summaryrefslogtreecommitdiff
path: root/gphoto2/gphoto2.h
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2021-08-30 12:44:31 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2021-09-08 03:15:39 +0200
commita594c2ccef521711cd303504dfcffaa89c0b425e (patch)
tree9a76ed94016aa9f55d10957c65ebcbb44ab20ff6 /gphoto2/gphoto2.h
parent5905eae3dedc48032abe15672ab3ec2aa10b62dc (diff)
downloadlibgphoto2-a594c2ccef521711cd303504dfcffaa89c0b425e.tar.gz
Remove remnants of OS/2 support
Remove remnants of OS/2 support, which has been broken at least since commit 9831fa553c from 2006-10, but more probably even since after gphoto2 2.1.0 which was some time in 2002. Closes: https://github.com/gphoto/libgphoto2/issues/710
Diffstat (limited to 'gphoto2/gphoto2.h')
-rw-r--r--gphoto2/gphoto2.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/gphoto2/gphoto2.h b/gphoto2/gphoto2.h
index 9bb6ba970..b73bdbb84 100644
--- a/gphoto2/gphoto2.h
+++ b/gphoto2/gphoto2.h
@@ -28,15 +28,6 @@
extern "C" {
#endif
-#ifdef OS2
-# include <db.h>
-# include <sys/param.h>
-# define CAMLIBS getenv("CAMLIBS")
-# define RTLD_LAZY 0x001
-# define VERSION "2"
-# define usleep(t) _sleep2(((t)+500)/ 1000)
-#endif
-
#ifdef WIN32
#ifndef CAMLIBS
#define CAMLIBS "."