#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 9f272ea8f6
commit 697facdc30
1 changed files with 7 additions and 0 deletions

View File

@ -218,6 +218,13 @@ extern double x_atanh(double);
#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__)
#define ATTRIBUTE_NORETURN __attribute__ ((noreturn))
#elif defined(_MSC_VER)