projects
/
yaz-moved-to-github.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Minor changes.
[yaz-moved-to-github.git]
/
include
/
yconfig.h
1
#ifndef YCONFIG_H
2
#define YCONFIG_H
3
4
/* System includes */
5
6
#ifndef _VMS_
7
8
#ifdef WIN32
9
10
#ifdef YNETINCLUDE
11
#include <winsock.h>
12
#endif
13
14
#else /* #ifdef WIN32 */
15
#include <sys/types.h>
16
#include <sys/time.h>
17
#include <sys/wait.h>
18
19
#ifdef YNETINCLUDE
20
#include <netinet/in.h>
21
#include <sys/socket.h>
22
#include <netdb.h>
23
#include <arpa/inet.h>
24
#endif
25
26
#ifdef _AIX
27
#include <sys/select.h>
28
#endif
29
30
#ifndef O_BINARY
31
#define O_BINARY 0
32
#endif
33
34
#endif
35
#endif /* ifndef _VMS_ */
36
37
#ifndef YAZ_EXPORT
38
#ifdef WIN32
39
#define YAZ_EXPORT __declspec(dllexport)
40
#else
41
#define YAZ_EXPORT
42
#endif
43
#endif
44
45
#ifdef WIN32
46
#define MDF
47
#else
48
#ifndef MDF
49
#define MDF
50
#endif
51
#endif
52
53
#endif