1
0
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:
csilvers 2011-07-27 01:03:02 +00:00
parent 9ae9c1b2a6
commit aabfe7bc61
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@
* Author: Craig Silverstein
*/
#include "windows/config.h"
#include <config.h>
#ifndef _WIN32
# error You should only be including windows/port.cc in a windows environment!
#endif

View File

@ -40,7 +40,7 @@
#ifndef CTEMPLATE_WINDOWS_PORT_H_
#define CTEMPLATE_WINDOWS_PORT_H_
#include "windows/config.h"
#include <config.h>
#ifdef _WIN32
#define USING_PORT_CC