From eca86da38c5a779e06fddb903e9fa1ae262712d1 Mon Sep 17 00:00:00 2001 From: Jeff Cohen Date: Fri, 20 Jan 2006 04:34:45 +0000 Subject: Update Windows version of config.h to note availability of floor/floorf/ceil/ceilf. Also pulled Windows-specific modifications to config.h.in to a separate file, so that changes to it trigger regeneration of config.h (which doesn't happen when the custom build step for it changes). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25477 91177308-0d34-0410-b5e6-96231b3b80d8 --- win32/Configure/Configure.vcproj | 32 ++++++++++---------------------- win32/config.h | 24 ++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 22 deletions(-) create mode 100644 win32/config.h (limited to 'win32') diff --git a/win32/Configure/Configure.vcproj b/win32/Configure/Configure.vcproj index 0364b1b2ea..c53e7f71c1 100644 --- a/win32/Configure/Configure.vcproj +++ b/win32/Configure/Configure.vcproj @@ -74,24 +74,8 @@ @@ -102,7 +86,8 @@ echo #define LLVM_ON_WIN32 1 >>$(ProjectDir)..\llvm\Config\config.h" @@ -113,7 +98,8 @@ echo #define LLVM_ON_WIN32 1 >>$(ProjectDir)..\llvm\Config\config.h" @@ -124,7 +110,8 @@ echo #define LLVM_ON_WIN32 1 >>$(ProjectDir)..\llvm\Config\config.h" @@ -135,7 +122,8 @@ echo #define LLVM_ON_WIN32 1 >>$(ProjectDir)..\llvm\Config\config.h" diff --git a/win32/config.h b/win32/config.h new file mode 100644 index 0000000000..be3f3fcbe9 --- /dev/null +++ b/win32/config.h @@ -0,0 +1,24 @@ +/* This file is appended to config.h.in to form the Windows version of + * config.h */ + +#define PACKAGE_NAME "LLVM (win32 vc7.1)" +#define PACKAGE_VERSION 1.4 +#define HAVE_WINDOWS_H 1 +#define HAVE_LIMITS_H 1 +#define HAVE_SYS_STAT_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STDIO_H 1 +#define HAVE_STRING_H 1 +#define SHLIBEXT ".lib" +#define error_t int +#define HAVE_ERRNO_H 1 +#define LTDL_DLOPEN_DEPLIBS 1 +#define HAVE_CEIL 1 +#define HAVE_CEILF 1 +#define HAVE_FLOOR 1 +#define HAVE_FLOORF 1 +#define LTDL_OBJDIR "_libs" +#define LTDL_SHLIBPATH_VAR "PATH" +#define LTDL_SHLIB_EXT ".dll" +#define LTDL_SYSSEARCHPATH "" +#define LLVM_ON_WIN32 1 -- cgit v1.2.3