mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-26 02:40:43 -06:00
Bug 798101 - Do not #undef __STRICT_ANSI__
Remove defines and undefines for Windows, they were needed with MinGW classic but are not with MinGW-w64.
This commit is contained in:
parent
029f3283e7
commit
12ad4fadae
@ -30,20 +30,9 @@ extern "C"
|
||||
#include "config.h"
|
||||
|
||||
#include <platform.h>
|
||||
#ifdef __STRICT_ANSI__
|
||||
#undef __STRICT_ANSI__
|
||||
#define __STRICT_ANSI_UNSET__ 1
|
||||
#endif
|
||||
#ifdef _NO_OLDNAMES
|
||||
#undef _NO_OLDNAMES
|
||||
#endif
|
||||
#ifdef _UWIN
|
||||
#undef _UWIN
|
||||
#endif
|
||||
#if PLATFORM(WINDOWS)
|
||||
#include <winsock2.h>
|
||||
#include <windows.h>
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#endif
|
||||
|
||||
#include <inttypes.h>
|
||||
@ -85,13 +74,6 @@ extern "C"
|
||||
#include "gnc-dbisqlresult.hpp"
|
||||
#include "gnc-dbisqlconnection.hpp"
|
||||
|
||||
#if PLATFORM(WINDOWS)
|
||||
#ifdef __STRICT_ANSI_UNSET__
|
||||
#undef __STRICT_ANSI_UNSET__
|
||||
#define __STRICT_ANSI__ 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if LIBDBI_VERSION >= 900
|
||||
#define HAVE_LIBDBI_R 1
|
||||
static dbi_inst dbi_instance = nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user