mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-28 04:13:35 +00:00
[CMAKE]
* Rename _math.h to math.h and merge r50732 from the cmake branch. * Remove msvchelper.h as it's not needed anymore for d3d8 and d3d9. * Skip ftp, libxslt and ksproxy from msvc build. * Dedicated to igorko. svn path=/trunk/; revision=52251
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
add_subdirectory(arp)
|
||||
add_subdirectory(dwnl)
|
||||
add_subdirectory(finger)
|
||||
add_subdirectory(ftp)
|
||||
if(NOT MSVC)
|
||||
add_subdirectory(ftp) # FIXME: fix msvc build
|
||||
endif()
|
||||
add_subdirectory(ipconfig)
|
||||
add_subdirectory(net)
|
||||
add_subdirectory(netstat)
|
||||
@@ -10,7 +12,7 @@ add_subdirectory(nslookup)
|
||||
add_subdirectory(ping)
|
||||
add_subdirectory(route)
|
||||
if(NOT MSVC)
|
||||
add_subdirectory(telnet)
|
||||
add_subdirectory(telnet) # FIXME: fix msvc build
|
||||
endif()
|
||||
add_subdirectory(tracert)
|
||||
add_subdirectory(whois)
|
||||
|
||||
Vendored
+3
-2
@@ -5,7 +5,8 @@ endif()
|
||||
add_subdirectory(libjpeg)
|
||||
add_subdirectory(libpng)
|
||||
add_subdirectory(libtiff)
|
||||
add_subdirectory(libxslt)
|
||||
|
||||
if(NOT MSVC)
|
||||
add_subdirectory(mesa32)
|
||||
add_subdirectory(libxslt)
|
||||
add_subdirectory(mesa32)
|
||||
endif()
|
||||
|
||||
@@ -16,7 +16,9 @@ add_subdirectory(dplayx)
|
||||
add_subdirectory(dsound)
|
||||
#add_subdirectory(dsound_new) #disabled in trunk
|
||||
add_subdirectory(dxdiagn)
|
||||
add_subdirectory(ksproxy)
|
||||
if(NOT MSVC)
|
||||
add_subdirectory(ksproxy) #FIXME: fix msvc build
|
||||
endif()
|
||||
add_subdirectory(ksuser)
|
||||
add_subdirectory(msdmo)
|
||||
#add_subdirectory(msdvbnp) #disabled in trunk
|
||||
|
||||
@@ -7,10 +7,6 @@ add_definitions(
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
if(MSVC)
|
||||
add_definitions(-FImsvchelper.h)
|
||||
endif()
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(d3d8.dll d3d8.spec)
|
||||
|
||||
@@ -7,10 +7,6 @@ add_definitions(
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
if(MSVC)
|
||||
add_definitions(-FImsvchelper.h)
|
||||
endif()
|
||||
|
||||
set_rc_compiler()
|
||||
|
||||
spec2def(d3d9.dll d3d9.spec)
|
||||
|
||||
@@ -196,8 +196,8 @@ static inline float float_16_to_32(const unsigned short *in) {
|
||||
} else if(e < 31) {
|
||||
return sgn * powf(2, (float)e - 15.0f) * (1.0f + ((float)m / 1024.0f));
|
||||
} else {
|
||||
if(m == 0) return sgn / 0.0f; /* +INF / -INF */
|
||||
else return 0.0f / 0.0f; /* NAN */
|
||||
if(m == 0) return sgn * INFINITY; /* +INF / -INF */
|
||||
else return NAN;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -218,8 +218,8 @@ static inline float float_24_to_32(DWORD in)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (m == 0) return sgn / 0.0f; /* +INF / -INF */
|
||||
else return 0.0f / 0.0f; /* NAN */
|
||||
if (m == 0) return sgn * INFINITY; /* +INF / -INF */
|
||||
else return NAN;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
|
||||
//
|
||||
#ifdef _M_IX86
|
||||
void __stdcall wined3d_mutex_lock(void);
|
||||
void __stdcall wined3d_mutex_unlock(void);
|
||||
void* __stdcall WineDirect3DCreate(unsigned int dxVersion,void *parent);
|
||||
|
||||
void __inline wined3d_mutex_lock_inline(void)
|
||||
{
|
||||
wined3d_mutex_lock();
|
||||
}
|
||||
|
||||
void __inline wined3d_mutex_unlock_inline(void)
|
||||
{
|
||||
wined3d_mutex_unlock();
|
||||
}
|
||||
|
||||
__inline
|
||||
struct IWineD3D* WineDirect3DCreate_inline(unsigned int dxVersion,void *parent)
|
||||
{
|
||||
return WineDirect3DCreate(dxVersion, parent);
|
||||
}
|
||||
|
||||
#define wined3d_mutex_lock wined3d_mutex_lock_inline
|
||||
#define wined3d_mutex_unlock wined3d_mutex_unlock_inline
|
||||
#define WineDirect3DCreate WineDirect3DCreate_inline
|
||||
|
||||
#endif /* _M_IX86 */
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user