[llvm-commits] CVS: llvm/include/Config/windows.h

Chris Lattner lattner at cs.uiuc.edu
Thu May 27 15:55:01 PDT 2004


Changes in directory llvm/include/Config:

windows.h added (r1.1)

---
Log message:

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


---
Diffs of the changes:  (+23 -0)

Index: llvm/include/Config/windows.h
diff -c /dev/null llvm/include/Config/windows.h:1.1
*** /dev/null	Thu May 27 15:51:32 2004
--- llvm/include/Config/windows.h	Thu May 27 15:51:22 2004
***************
*** 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





More information about the llvm-commits mailing list