* fix a bug where clicking on the message tab made keyboard accelerators stop working
[geda-gerbv.git] / src / csv_defines.h
blobaf7b2cd8da1a5f42a79d977323b3ec40a839e4ca
1 #ifndef DEFINES_H
2 #define DEFINES_H
3 /** \file csv_defines.h
4 \brief Sets up internal definitions for handling csv-style files
5 \ingroup libgerbv
6 */
8 #if defined(__sparc__)
10 #define HAVE_ENCDEC 0
11 #define HAVE_STRDUP 1
12 #define HAVE_STRNLEN 0
13 #define HAVE_EXPAT 0
14 #define HAVE_MBSTATE 0
15 #define HAVE_WCWIDTH 1
16 #define HAVE_SNPRINTF 1
17 #define HAVE_VSNPRINTF 1
18 #define HAVE_VARMACRO 1
19 #define HAVE_LANGINFO 1
21 #elif defined(_WIN32)
23 #define HAVE_ENCDEC 0
24 #define HAVE_STRDUP 1
25 #define HAVE_STRNLEN 0
26 #define HAVE_EXPAT 0
27 #define HAVE_MBSTATE 0
28 #define HAVE_WCWIDTH 0
29 #define HAVE_SNPRINTF 0
30 #define HAVE_VSNPRINTF 0
31 #define HAVE_VARMACRO 0
32 #define HAVE_LANGINFO 0
34 #else
36 #define HAVE_ENCDEC 0
37 #define HAVE_STRDUP 1
38 #define HAVE_STRNLEN 1
39 #define HAVE_EXPAT 0
40 #define HAVE_MBSTATE 1
41 #define HAVE_WCWIDTH 1
42 #define HAVE_SNPRINTF 1
43 #define HAVE_VSNPRINTF 0
44 #define HAVE_VARMACRO 1
45 #define HAVE_LANGINFO 1
47 #endif
49 #ifdef __GNUC__
50 #define UNUSED __attribute__ ((unused))
51 #else
52 #define UNUSED
53 #endif
55 #endif /* DEFINES_H */