An "autoconf wrapper" for the infamous windows.h file

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13849 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-05-27 20:51:22 +00:00
parent 7dde37df55
commit f0f3c06a90
2 changed files with 46 additions and 0 deletions

23
include/Config/windows.h Normal file
View File

@ -0,0 +1,23 @@
/*
* The LLVM Compiler Infrastructure
*
* This file was developed by the LLVM research group and is distributed under
* the University of Illinois Open Source License. See LICENSE.TXT for details.
*
******************************************************************************
*
* Description:
* This header file is the autoconf replacement for windows.h (if it lives
* on the system).
*/
#ifndef _CONFIG_DLFCN_H
#define _CONFIG_DLFCN_H
#include "Config/config.h"
#ifdef HAVE_WINDOWS_H
#include <windows.h>
#endif
#endif

View File

@ -0,0 +1,23 @@
/*
* The LLVM Compiler Infrastructure
*
* This file was developed by the LLVM research group and is distributed under
* the University of Illinois Open Source License. See LICENSE.TXT for details.
*
******************************************************************************
*
* Description:
* This header file is the autoconf replacement for windows.h (if it lives
* on the system).
*/
#ifndef _CONFIG_DLFCN_H
#define _CONFIG_DLFCN_H
#include "Config/config.h"
#ifdef HAVE_WINDOWS_H
#include <windows.h>
#endif
#endif