#define fopen newfopen

and header for MINGW and MS VS
This commit is contained in:
h_vogt 2017-10-04 14:21:34 +02:00 committed by Holger Vogt
parent e46aab1788
commit 34f2f373fc
1 changed files with 7 additions and 0 deletions

View File

@ -218,6 +218,13 @@ extern double x_atanh(double);
#endif #endif
#endif #endif
#ifndef EXT_ASC
#if defined(__MINGW__) || defined(_MSC_VER)
#define fopen newfopen
extern FILE *newfopen(char *fn, char* md);
#endif
#endif
#if defined(__GNUC__) #if defined(__GNUC__)
#define ATTRIBUTE_NORETURN __attribute__ ((noreturn)) #define ATTRIBUTE_NORETURN __attribute__ ((noreturn))
#elif defined(_MSC_VER) #elif defined(_MSC_VER)