X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=acconfig.h;h=dd219f8bee733fde6b80ab5e92809f14d0f5ef61;hb=3eea90dbbc24f9dafc6c0a42d5b14fe213dbcd6a;hp=c4f91734cfe9cb6576815dfe84e62f137bded1c5;hpb=e3dfa5b1448eba729b8976e035d141f78f766207;p=lyx.git diff --git a/acconfig.h b/acconfig.h index c4f91734cf..dd219f8bee 100644 --- a/acconfig.h +++ b/acconfig.h @@ -44,6 +44,15 @@ #undef USE_PSPELL +/* 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 + @BOTTOM@ /************************************************************ @@ -68,6 +77,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