X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=acconfig.h;h=0d04f91739ff2be45286351d29a7fc237e7a87b2;hb=da7c04db11dd482f7b126e576fbc9a319d941aad;hp=a9df3d55f091bd7c7e9db357cb5ffae54518c096;hpb=d8b75819d69b793ba40007013dcec026158c2c50;p=lyx.git diff --git a/acconfig.h b/acconfig.h index a9df3d55f0..0d04f91739 100644 --- a/acconfig.h +++ b/acconfig.h @@ -8,7 +8,8 @@ * * LyX, the High Level Word Processor * - * Copyright (C) 1995 Matthias Ettrich + * Copyright 1995 Matthias Ettrich + * Copyright 1995-2001 The LyX Team. * *======================================================*/ @@ -40,24 +41,28 @@ e.g. */ #undef XPM_H_LOCATION -/* here are the defines for what Toolkit to use (default is XForms) */ -#undef KDEGUI +#undef HAVE_LIBSM -#undef GTKGUI +#undef USE_PSPELL -#undef HAVE_LIBSM +/* Define as 1 if the MKSTEMP function is declared */ +#undef HAVE_DECL_MKSTEMP + +/* Define if you have the function prototype for snprintf(). */ +#undef HAVE_DECL_SNPRINTF + +/* Define if you have the function prototype for vsnprintf(). */ +#undef HAVE_DECL_VSNPRINTF + +/* Define if you have the function prototype istreambuf_iterator in + */ +#undef HAVE_DECL_ISTREAMBUF_ITERATOR @BOTTOM@ /************************************************************ ** You should not need to change anything beyond this point */ -/* even though -ansi might have been specified for gcc, we want all - usual prototypes. */ -#ifdef __STRICT_ANSI__ -/**/#undef __STRICT_ANSI__ -#endif - #ifndef HAVE_STRCHR #define strchr(a,b) index(a,b) #endif @@ -77,6 +82,15 @@ char * strerror(int n); #include "broken_headers.h" #endif +#ifdef HAVE_MKSTEMP +#ifndef HAVE_DECL_MKSTEMP +#if defined (__cplusplus) +extern "C" +#endif +int mkstemp(char*); +#endif +#endif + /* C++ always support the keyword `inline' */ #if defined inline && defined __cplusplus /**/#undef inline @@ -110,5 +124,14 @@ char * strerror(int n); #include "nt_defines.h" #endif +/* Some support for the boost library. */ +#ifndef HAVE_LIMITS +#define BOOST_NO_LIMITS +#endif + +#ifndef HAVE_SSTREAM +#define BOOST_NO_STRINGSTREAM +#endif + #endif /* _CONFIG_H */