Author: jgardou
Date: Fri Dec 27 16:25:52 2013
New Revision: 61450
URL:
http://svn.reactos.org/svn/reactos?rev=61450&view=rev
Log:
[INCLUDE/CRT]
- add intrin.h which redirects to compiler specific version
- Do not add a global include directory for two headers
- Update float.h accordingly
Added:
trunk/reactos/include/crt/intrin.h (with props)
Modified:
trunk/reactos/CMakeLists.txt
trunk/reactos/include/crt/float.h
Modified: trunk/reactos/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/CMakeLists.txt?rev=61450&a…
==============================================================================
--- trunk/reactos/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/CMakeLists.txt [iso-8859-1] Fri Dec 27 16:25:52 2013
@@ -199,12 +199,6 @@
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/arm)
endif()
- if(MSVC)
- include_directories(include/crt/msc)
- else()
- include_directories(include/crt/mingw32)
- endif()
-
add_dependency_header()
add_subdirectory(include/psdk)
Modified: trunk/reactos/include/crt/float.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/crt/float.h?rev=61…
==============================================================================
--- trunk/reactos/include/crt/float.h [iso-8859-1] (original)
+++ trunk/reactos/include/crt/float.h [iso-8859-1] Fri Dec 27 16:25:52 2013
@@ -16,16 +16,16 @@
*
*/
+#ifndef _MINGW_FLOAT_H_
+#define _MINGW_FLOAT_H_
+
#if defined(__GNUC__)
-#include <gcc_float.h>
+#include "mingw32/gcc_float.h"
#elif defined(_MSC_VER)
-#include <msc_float.h>
+#include "msc/msc_float.h"
#else
#error
#endif
-
-#ifndef _MINGW_FLOAT_H_
-#define _MINGW_FLOAT_H_
#include <crtdefs.h>
Added: trunk/reactos/include/crt/intrin.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/crt/intrin.h?rev=6…
==============================================================================
--- trunk/reactos/include/crt/intrin.h (added)
+++ trunk/reactos/include/crt/intrin.h [iso-8859-1] Fri Dec 27 16:25:52 2013
@@ -0,0 +1,10 @@
+
+#pragma once
+
+#ifdef __MINGW32__
+# include "mingw32/intrin.h"
+#elif defined(_MSC_VER)
+# include "msc/intrin.h"
+#else
+# error Please implement intrinsics for your target compiler
+#endif
Propchange: trunk/reactos/include/crt/intrin.h
------------------------------------------------------------------------------
svn:eol-style = native