Fix common.h: Windows doesn't use config.h

This commit is contained in:
Andrew Nelless 2017-03-08 18:49:29 +00:00
parent f815f9840d
commit 0cddcdca10
1 changed files with 4 additions and 3 deletions

View File

@ -18,9 +18,10 @@
#pragma once
// this file should be included, directly or indirectly by every other.
#if HAVE_CONFIG_H
#if defined(_WIN32)
# define SYSAPI_WIN32 1
# define WINAPI_MSWINDOWS 1
#elif HAVE_CONFIG_H
# include "config.h"
#else
# error "config.h missing"