File: config.h

package info (click to toggle)
lcdf-typetools 2.92%2Bdfsg1-0.1
  • links: PTS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 2,884 kB
  • sloc: cpp: 34,407; ansic: 2,106; sh: 1,032; makefile: 306
file content (43 lines) | stat: -rw-r--r-- 841 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef LCDF_TYPETOOLS_CONFIG_H
#define LCDF_TYPETOOLS_CONFIG_H 1

#include <autoconf.h>

/* Allow compilation on Windows (thanks, Fabrice Popineau). */
#ifdef WIN32
# ifdef __MINGW32__
#  include <windows.h>
# else
#  include <win32lib.h>
# endif
#else
# include <stddef.h>
# define CDECL /* nothing */
#endif

#ifdef __cplusplus
extern "C" {
#endif

/* Prototype strerror if necessary. */
#if !HAVE_STRERROR
char *strerror(int errno);
#endif

/* Prototype strnlen if necessary. */
#if !HAVE_STRNLEN || !HAVE_DECL_STRNLEN
size_t strnlen(const char *s, size_t maxlen);
#endif

/* Prototype good_strtod if necessary. */
#if HAVE_BROKEN_STRTOD
double good_strtod(const char *s, char **endptr);
#endif

#ifdef __cplusplus
}
/* Get rid of a possible inline macro under C++. */
# define inline inline
#endif

#endif /* LCDF_TYPETOOLS_CONFIG_H */