mirror of
https://github.com/reactos/reactos.git
synced 2025-05-31 15:08:14 +00:00
[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 svn path=/trunk/; revision=61450
This commit is contained in:
parent
aa89359e92
commit
1a41980788
3 changed files with 15 additions and 11 deletions
|
@ -199,12 +199,6 @@ else()
|
|||
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)
|
||||
|
|
|
@ -16,17 +16,17 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
||||
/*
|
||||
|
|
10
reactos/include/crt/intrin.h
Normal file
10
reactos/include/crt/intrin.h
Normal file
|
@ -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
|
Loading…
Reference in a new issue