projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New call oid_trav.
[yaz-moved-to-github.git]
/
include
/
yaz
/
yconfig.h
diff --git
a/include/yaz/yconfig.h
b/include/yaz/yconfig.h
index
394b7a0
..
fbb6d48
100644
(file)
--- a/
include/yaz/yconfig.h
+++ b/
include/yaz/yconfig.h
@@
-1,45
+1,33
@@
+/*
+ * Copyright (c) 1995-2000, Index Data.
+ * See the file LICENSE for details.
+ *
+ * $Id: yconfig.h,v 1.5 2000-03-01 09:53:32 adam Exp $
+ */
+
#ifndef YCONFIG_H
#define YCONFIG_H
#ifndef YCONFIG_H
#define YCONFIG_H
-/* System includes */
-
-#ifndef _VMS_
-
-#ifdef WIN32
-
-#ifdef YNETINCLUDE
-#include <winsock.h>
-#endif
-
-#else /* #ifdef WIN32 */
-#include <sys/types.h>
-#include <sys/time.h>
-#include <sys/wait.h>
-
-#ifdef YNETINCLUDE
-#include <netinet/in.h>
-#include <sys/socket.h>
-#include <netdb.h>
-#include <arpa/inet.h>
-#endif
-
-#ifdef _AIX
-#include <sys/select.h>
-#endif
-
-#ifndef O_BINARY
-#define O_BINARY 0
+#ifndef YAZ_EXPORT
+# ifdef WIN32
+# define YAZ_EXPORT __declspec(dllexport)
+# else
+# define YAZ_EXPORT
+# endif
#endif
#endif
+#ifndef WIN32
+# ifndef O_BINARY
+# define O_BINARY 0
+# endif
#endif
#endif
-#endif /* ifndef _VMS_ */
-#ifndef YAZ_EXPORT
-#ifdef WIN32
-#define YAZ_EXPORT __declspec(dllexport)
+#ifdef __cplusplus
+#define YAZ_BEGIN_CDECL extern "C" {
+#define YAZ_END_CDECL }
#else
#else
-#define YAZ_EXPORT
-#endif
+#define YAZ_BEGIN_CDECL
+#define YAZ_END_CDECL
#endif
#endif
#endif
#endif