mirror of
https://github.com/OlafvdSpek/ctemplate.git
synced 2025-09-28 19:05:49 +08:00
A small change to make sure that windows doesn't #include the wrong
(unix) config file. Probably only a problem on mingw, which is the only platform that wants the windows config.h but still runs automake.
This commit is contained in:
parent
9ae9c1b2a6
commit
aabfe7bc61
|
@ -31,7 +31,7 @@
|
||||||
* Author: Craig Silverstein
|
* Author: Craig Silverstein
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "windows/config.h"
|
#include <config.h>
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
# error You should only be including windows/port.cc in a windows environment!
|
# error You should only be including windows/port.cc in a windows environment!
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
#ifndef CTEMPLATE_WINDOWS_PORT_H_
|
#ifndef CTEMPLATE_WINDOWS_PORT_H_
|
||||||
#define CTEMPLATE_WINDOWS_PORT_H_
|
#define CTEMPLATE_WINDOWS_PORT_H_
|
||||||
|
|
||||||
#include "windows/config.h"
|
#include <config.h>
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
||||||
#define USING_PORT_CC
|
#define USING_PORT_CC
|
||||||
|
|
Loading…
Reference in New Issue
Block a user