- Remove the remaining __USE_W32API, deprecated for ages.
authorStefan Ginsberg <stefanginsberg@gmail.com>
Wed, 30 Sep 2009 13:28:51 +0000 (13:28 +0000)
committerStefan Ginsberg <stefanginsberg@gmail.com>
Wed, 30 Sep 2009 13:28:51 +0000 (13:28 +0000)
- Remove _SEH_NO_NATIVE_NLG from msvcrt.rbuild, deprecated long ago.
- Get rid of __NO_CTYPE_INLINES for everything but host tools, deprecated since revision 38052.
- Deprecate and remove _DISABLE_TIDENTS.

svn path=/trunk/; revision=43234

23 files changed:
reactos/base/setup/usetup/usetup.rbuild
reactos/base/shell/explorer/Make-rosshell.mak
reactos/dll/ntdll/ntdll.rbuild
reactos/dll/win32/kernel32/kernel32.rbuild
reactos/dll/win32/msvcrt/msvcrt.rbuild
reactos/dll/win32/snmpapi/snmpapi.rbuild
reactos/dll/win32/ws2_32/misc/ns.c
reactos/drivers/filesystems/npfs/npfs.rbuild
reactos/hal/halamd64/generic/generic.rbuild
reactos/hal/halamd64/hal_generic.rbuild
reactos/hal/halamd64/up/halup.rbuild
reactos/hal/halx86/hal_generic_amd64.rbuild
reactos/include/psdk/winfax.h
reactos/lib/3rdparty/freetype/freetype.rbuild
reactos/lib/3rdparty/fullfat/fullfat.rbuild
reactos/lib/cmlib/cmlib.rbuild
reactos/lib/drivers/oskittcp/oskittcp.rbuild
reactos/lib/fslib/vfatlib/check/file.c
reactos/lib/ppcmmu/ppcmmu.rbuild
reactos/lib/rtl/rtl.rbuild
reactos/lib/sdk/crt/crt.rbuild
reactos/lib/sdk/crt/libcntpr.rbuild
reactos/ntoskrnl/ntoskrnl-generic.rbuild

index 7dc44c1..fa96c8c 100644 (file)
@@ -6,7 +6,6 @@
        <include base="zlib">.</include>
        <include base="inflib">.</include>
        <include base="ReactOS">include/reactos/drivers</include>
-       <define name="__NO_CTYPE_INLINES" />
        <library>zlib</library>
        <library>inflib</library>
        <library>ext2lib</library>
index fc00f51..6bc2644 100644 (file)
@@ -15,7 +15,7 @@ TARGET_NAME := rosshell
 TARGET_INSTALLDIR := .
 
 TARGET_CFLAGS := \
-       -D__USE_W32API -DWIN32 -D_ROS_ \
+       -DWIN32 -D_ROS_ \
        -D_WIN32_IE=0x0600 -D_WIN32_WINNT=0x0501 -DWINVER=0x0500 \
        -DUNICODE -fexceptions -Wall -g
 
index 7ba4334..01a591e 100644 (file)
@@ -12,7 +12,6 @@
                <include base="ReactOS">include/reactos/subsys</include>
                <define name="__NTDLL__" />
                <define name="_NTOSKRNL_" />
-               <define name="__NO_CTYPE_INLINES" />
                <library>rtl</library>
                <library>ntdllsys</library>
                <library>libcntpr</library>
index ec4f069..2c76915 100644 (file)
@@ -12,7 +12,6 @@
        <library>ntdll</library>
        <define name="_KERNEL32_" />
        <redefine name="_WIN32_WINNT">0x0600</redefine>
-       <define name="__NO_CTYPE_INLINES" />
        <dependency>errcodes</dependency>
        <!-- See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38269
        <pch>k32.h</pch>
index 3a88717..9c3f9ef 100644 (file)
@@ -6,7 +6,6 @@
        <define name="_MSVCRT_" />
        <define name="_MSVCRT_LIB_" />
        <define name="_MT" />
-       <define name="__NO_CTYPE_INLINES" />
        <define name="_CTYPE_DISABLE_MACROS" />
        <define name="_NO_INLINING" />
        <linkerflag linkerset="ld">-enable-stdcall-fixup</linkerflag>
index 513f52f..5c4fac3 100644 (file)
@@ -3,7 +3,6 @@
        <include base="snmpapi">.</include>
        <include base="ReactOS">include/reactos/wine</include>
        <define name="__WINESRC__" />
-       <define name="_DISABLE_TIDENTS" />
        <library>ntdll</library>
        <library>kernel32</library>
        <library>wine</library>
index e298b11..bb89ead 100644 (file)
@@ -7,7 +7,6 @@
  * REVISIONS:
  *   CSH 01/09-2000 Created
  */
-#define __NO_CTYPE_INLINES
 #include <ctype.h>
 #include <ws2_32.h>
 #include <winbase.h>
index d2f12e8..a9030bf 100644 (file)
@@ -2,7 +2,6 @@
 <!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
 <module name="npfs" type="kernelmodedriver" installbase="system32/drivers" installname="npfs.sys">
        <include base="npfs">.</include>
-       <define name="__NO_CTYPE_INLINES" />
        <library>ntoskrnl</library>
        <library>hal</library>
        <file>create.c</file>
index 7c22ec5..8eb4d95 100644 (file)
@@ -4,7 +4,6 @@
        <module name="hal_generic" type="objectlibrary">
                <include base="hal_generic">../include</include>
                <include base="ntoskrnl">include</include>
-               <define name="_DISABLE_TIDENTS" />
                <define name="_NTHAL_" />
                <file>halinit.c</file>
                <file>irq.S</file>
index 1e0fdc0..c350c68 100644 (file)
@@ -4,7 +4,6 @@
        <module name="hal_generic" type="objectlibrary">
                <include>include</include>
                <include base="ntoskrnl">include</include>
-               <define name="_DISABLE_TIDENTS" />
                <define name="_NTHAL_" />
                <file>hal_generic.c</file>
        </module>
index 08f7274..c6e85a4 100644 (file)
@@ -5,7 +5,6 @@
        <bootstrap installbase="$(CDOUTPUT)" nameoncd="hal.dll" />
        <include base="halup">../include</include>
        <include base="ntoskrnl">include</include>
-       <define name="_DISABLE_TIDENTS" />
        <define name="_NTHAL_" />
        <library>hal_generic_amd64</library>
        <library>hal_generic</library>
index c343b64..1eb9ffe 100644 (file)
@@ -4,7 +4,6 @@
        <module name="hal_generic_amd64" type="objectlibrary">
                <include>include</include>
                <include base="ntoskrnl">include</include>
-               <define name="_DISABLE_TIDENTS" />
                <define name="_NTHAL_" />
                <directory name="generic">
                        <file>beep.c</file>
index ec738d0..8a6c46c 100644 (file)
@@ -493,8 +493,6 @@ typedef struct _FAX_PRINT_INFOW
 typedef BOOL (CALLBACK *PFAX_RECIPIENT_CALLBACKA)(HANDLE FaxHandle, DWORD RecipientNumber, LPVOID Context, PFAX_JOB_PARAMA JobParams, PFAX_COVERAGE_INFOA CoverpageInfo);
 typedef BOOL (CALLBACK *PFAX_RECIPIENT_CALLBACKW)(HANDLE FaxHandle, DWORD RecipientNumber, LPVOID Context, PFAX_JOB_PARAMW JobParams, PFAX_COVERAGE_INFOW CoverpageInfo);
 
-#ifndef _DISABLE_TIDENTS
-
 #ifdef UNICODE
 typedef FAX_JOB_PARAMW FAX_JOB_PARAM;
 typedef PFAX_JOB_PARAMW PFAX_JOB_PARAM;
@@ -589,8 +587,6 @@ typedef PFAX_RECIPIENT_CALLBACKW PFAX_RECIPIENT_CALLBACK;
 #define FaxStartPrintJob FaxStartPrintJobA
 #endif /* UNICODE */
 
-#endif /* _DISABLE_TIDENTS */
-
 typedef BOOL (CALLBACK *PFAX_ROUTING_INSTALLATION_CALLBACKW)(HANDLE FaxHandle, LPVOID Context, LPWSTR MethodName, LPWSTR FriendlyName, LPWSTR FunctionName, LPWSTR Guid);
 #define PFAX_ROUTING_INSTALLATION_CALLBACK PFAX_ROUTING_INSTALLATION_CALLBACKW
 #define FaxRegisterRoutingExtension FaxRegisterRoutingExtensionW
index 9e6236e..bf7709e 100644 (file)
@@ -2,9 +2,7 @@
 <!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
 <module name="freetype" type="staticlibrary" allowwarnings="true">
        <include base="freetype">include</include>
-       <define name="_DISABLE_TIDENTS" />
        <define name="__NTDRIVER__" />
-       <define name="__NO_CTYPE_INLINES" />
        <define name="FT2_BUILD_LIBRARY"  />
        <if property="NSWPAT" value="0">
                <define name="TT_CONFIG_OPTION_UNPATENTED_HINTING" />
index 15871fd..df4d358 100644 (file)
@@ -3,7 +3,6 @@
 <module name="fullfat" type="staticlibrary">
        <include base="ReactOS">include/reactos/libs/fullfat</include>
        <define name="__NTDRIVER__" />
-       <define name="__NO_CTYPE_INLINES" />
 
        <file>ff_blk.c</file>
        <file>ff_crc.c</file>
index 0498fff..506eef9 100644 (file)
@@ -3,7 +3,6 @@
 <group>
 <module name="cmlib" type="staticlibrary">
        <include base="cmlib">.</include>
-       <define name="__NO_CTYPE_INLINES" />
        <define name="_NTOSKRNL_" />
        <define name="_NTSYSTEM_" />
        <define name="NASSERT" />
index 809ccf6..f67e415 100644 (file)
@@ -3,7 +3,6 @@
 <module name="oskittcp" type="staticlibrary">
        <define name="__NTDRIVER__"/>
        <define name="KERNEL"/>
-       <define name="__NO_CTYPE_INLINES" />
        <include base="oskittcp">include/freebsd</include>
        <include base="oskittcp">include/freebsd/sys/include</include>
        <include base="oskittcp">include/freebsd/src/sys</include>
index d3cf2ec..097d23c 100644 (file)
@@ -5,10 +5,6 @@
 /* FAT32, VFAT, Atari format support, and various fixes additions May 1998
  * by Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de> */
 
-/* Need to define this so that islower isn't inlined
-   (ntdll doesn't export isctype) */
-#define __NO_CTYPE_INLINES
-
 #include "vfatlib.h"
 
 #define NDEBUG
index fb70876..e082afa 100644 (file)
@@ -2,7 +2,6 @@
 <!DOCTYPE module SYSTEM "../../tools/rbuild/project.dtd">\r
 <module name="ppcmmu" type="staticlibrary">\r
         <include base="ppcmmu">.</include>\r
-        <define name="__NO_CTYPE_INLINES" />\r
         <if property="ARCH" value="powerpc">\r
                 <file>mmuutil.c</file>\r
         </if>\r
index 00664ba..e4aed9b 100644 (file)
@@ -2,7 +2,6 @@
 <!DOCTYPE module SYSTEM "../../tools/rbuild/project.dtd">
 <module name="rtl" type="staticlibrary">
        <define name="_NTOSKRNL_" />
-       <define name="__NO_CTYPE_INLINES" />
        <define name="NO_RTL_INLINES" />
        <define name="_NTSYSTEM_" />
        <define name="_NTDLLBUILD_" />
index 8a9cf95..319b0ba 100644 (file)
@@ -24,7 +24,6 @@
        <define name="_MSVCRT_LIB_" />
        <define name="_MSVCRT_" />
        <define name="_MT" />
-       <define name="__NO_CTYPE_INLINES" />
        <directory name="conio">
                <file>cgets.c</file>
                <file>cprintf.c</file>
index 4884817..a305d91 100644 (file)
@@ -3,11 +3,9 @@
 <module name="libcntpr" type="staticlibrary">
        <include base="crt">.</include>
        <include base="crt">include</include>
-       <define name="__NO_CTYPE_INLINES" />
        <define name="NO_RTL_INLINES" />
        <define name="_NTSYSTEM_" />
        <define name="_NTDLLBUILD_" />
-       <define name="_SEH_NO_NATIVE_NLG" />
        <define name="_LIBCNT_" />
        <if property="ARCH" value="i386">
                <define name="__MINGW_IMPORT">"extern __attribute__ ((dllexport))"</define>
index 9f15228..0f30116 100644 (file)
@@ -6,7 +6,6 @@
        <define name="__NTOSKRNL__" />
        <define name="_NTOSKRNL_" />
        <define name="_NTSYSTEM_" />
-       <define name="__NO_CTYPE_INLINES" />
        <define name="_IN_KERNEL_" />
        <if property="_WINKD_" value="1">
                <define name="_WINKD_" />