tgf.cpp: Include config.h on WIN32

For some unknown reason, HAVE_CONFIG_H is left undefined for Windows.
However, tgf.cpp has some references to SD_BUILD_INFO_SYSTEM and other
macros provided by config.h.


git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9559 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a1c202a30f9760495dc3850f37769595a8d95d4d
Former-commit-id: 0183873c095831cb15adcaf9922a6843ca1f4c81
This commit is contained in:
xavi92 2024-10-27 07:38:34 +00:00
parent 1c47007aee
commit d5bff2ab4b

View file

@ -17,6 +17,16 @@
#include <portability.h>
#ifdef WIN32
#ifndef HAVE_CONFIG_H
#define HAVE_CONFIG_H
#endif
#endif
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
#include <shlobj.h>
#include <io.h>