]>
cygwin.com Git - cygwin-apps/cygutils.git/blob - common.h
1 #ifndef CYGUTILS_COMMON_H
2 #define CYGUTILS_COMMON_H 1
4 #if defined(_WIN32) || defined(__WIN32) || defined(WIN32) || defined(__WIN32__)
26 # include <sys/types.h>
27 #endif /* HAVE_SYS_TYPES_H */
29 # include <sys/stat.h>
30 #endif /* HAVE_SYS_STAT_H */
38 #endif /*STDC_HEADERS*/
41 # if !STDC_HEADERS && HAVE_MEMORY_H
47 #endif /*HAVE_STRING[S]_H*/
51 # define VA_START(a, f) va_start(a, f)
55 # define VA_START(a, f) va_start(a)
62 #if TIME_WITH_SYS_TIME
63 # include <sys/time.h>
67 # include <sys/time.h>
75 #endif /*HAVE_UNISTD_H*/
78 # include <sys/param.h>
79 #endif /*HAVE_SYS_PARAM_H */
83 #endif /*HAVE_ERRNO_H*/
87 #endif /*HAVE_FCNTL_H*/
91 #endif /*HAVE_LIMITS_H*/
95 #endif /*HAVE_MALLOC_H*/
99 #endif /*HAVE_CTYPE_H*/
103 #endif /*HAVE_GETOPT_H*/
105 /* column needs TIOCGWINSZ */
107 # include <termios.h>
110 #if GWINSZ_IN_SYS_IOCTL
111 # include <sys/ioctl.h>
113 /* End: column needs TIOCGWINSZ */
118 #endif /*HAVE_POPT_H*/
121 # include <windows.h>
126 # define setmode(a, b)
127 #endif /*HAVE_WINDOWS_H*/
129 /* we don't include wchar.h or wctype.h here. let widechar.h do that */
131 #endif /* !CYGUTILS_COMMON_H */
This page took 0.039918 seconds and 5 git commands to generate.