Author: hpoussin
Date: Sat Oct 6 22:04:03 2007
New Revision: 29420
URL:
http://svn.reactos.org/svn/reactos?rev=29420&view=rev
Log:
Rename _REACTOS_ to __REACTOS__
Modified:
trunk/reactos/ReactOS-generic.rbuild
trunk/reactos/ReactOS-ppc.rbuild
trunk/reactos/base/services/dhcp/dhclient.c
trunk/reactos/base/services/dhcp/include/dhcpd.h
trunk/reactos/include/ndk/i386/ketypes.h
trunk/reactos/include/psdk/rpc.h
Modified: trunk/reactos/ReactOS-generic.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ReactOS-generic.rbuild?rev…
==============================================================================
--- trunk/reactos/ReactOS-generic.rbuild (original)
+++ trunk/reactos/ReactOS-generic.rbuild Sat Oct 6 22:04:03 2007
@@ -3,7 +3,7 @@
<group
xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="baseaddress.rbuild" />
- <define name="_REACTOS_" />
+ <define name="__REACTOS__" />
<if property="MP" value="1">
<define name="CONFIG_SMP" value="1" />
</if>
Modified: trunk/reactos/ReactOS-ppc.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ReactOS-ppc.rbuild?rev=294…
==============================================================================
--- trunk/reactos/ReactOS-ppc.rbuild (original)
+++ trunk/reactos/ReactOS-ppc.rbuild Sat Oct 6 22:04:03 2007
@@ -10,30 +10,29 @@
<xi:include href="ReactOS-generic.rbuild" />
<property name="OFWLDR_LINKFORMAT" value="-L$(INTERMEDIATE)/lib/ppcmmu
-lppcmmu_code -nostdlib -nostartfiles -lgcc -Wl,-e,__start -Wl,-Ttext,0xe00000
-N"/>
- <property name="NTOSKRNL_SHARED"
value="-Wl,--file-alignment,0x1000 -Wl,--section-alignment,0x1000
-nostartfiles"/>
+ <property name="NTOSKRNL_SHARED" value="-Wl,--file-alignment,0x1000
-Wl,--section-alignment,0x1000 -nostartfiles"/>
- <define name="_M_PPC" />
- <define name="_PPC_" />
- <define name="__PowerPC__" />
- <define name="_REACTOS_" />
- <define name="stdcall" empty="true" />
- <define name="__stdcall__" empty="true" />
- <define name="fastcall" empty="true" />
- <define name="cdecl" empty="true" />
- <define name="__cdecl__" empty="true" />
- <define name="dllimport" empty="true" />
- <define name="WORDS_BIGENDIAN" empty="true" />
- <define name="__MSVCRT__" empty="true" />
- <define name="__NO_CTYPE_INLINES" />
- <define name="__DECLSPEC_SUPPORTED" />
- <define name="__MINGW_IMPORT">extern</define>
- <define name="_CRTIMP" empty="true" />
- <define name="'__declspec(x)'" empty="true" />
- <compilerflag>-fshort-wchar</compilerflag>
- <compilerflag>-fsigned-char</compilerflag>
- <compilerflag>-mfull-toc</compilerflag>
- <compilerflag>-meabi</compilerflag>
- <compilerflag>-O2</compilerflag>
- <compilerflag>-Wno-strict-aliasing</compilerflag>
+ <define name="_M_PPC" />
+ <define name="_PPC_" />
+ <define name="__PowerPC__" />
+ <define name="stdcall" empty="true" />
+ <define name="__stdcall__" empty="true" />
+ <define name="fastcall" empty="true" />
+ <define name="cdecl" empty="true" />
+ <define name="__cdecl__" empty="true" />
+ <define name="dllimport" empty="true" />
+ <define name="WORDS_BIGENDIAN" empty="true" />
+ <define name="__MSVCRT__" empty="true" />
+ <define name="__NO_CTYPE_INLINES" />
+ <define name="__DECLSPEC_SUPPORTED" />
+ <define name="__MINGW_IMPORT">extern</define>
+ <define name="_CRTIMP" empty="true" />
+ <define name="'__declspec(x)'" empty="true" />
+ <compilerflag>-fshort-wchar</compilerflag>
+ <compilerflag>-fsigned-char</compilerflag>
+ <compilerflag>-mfull-toc</compilerflag>
+ <compilerflag>-meabi</compilerflag>
+ <compilerflag>-O2</compilerflag>
+ <compilerflag>-Wno-strict-aliasing</compilerflag>
</project>
Modified: trunk/reactos/base/services/dhcp/dhclient.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/dhcp/dhclien…
==============================================================================
--- trunk/reactos/base/services/dhcp/dhclient.c (original)
+++ trunk/reactos/base/services/dhcp/dhclient.c Sat Oct 6 22:04:03 2007
@@ -433,7 +433,7 @@
ip->client->new->rebind = ip->client->new->renewal +
ip->client->new->renewal / 2 + ip->client->new->renewal / 4;
-#ifdef _REACTOS_
+#ifdef __REACTOS__
ip->client->new->obtained = cur_time;
#endif
ip->client->new->expiry += cur_time;
@@ -825,7 +825,7 @@
lease->address.len = sizeof(packet->raw->yiaddr);
memcpy(lease->address.iabuf, &packet->raw->yiaddr, lease->address.len);
-#ifdef _REACTOS_
+#ifdef __REACTOS__
lease->serveraddress.len = sizeof(packet->raw->siaddr);
memcpy(lease->serveraddress.iabuf, &packet->raw->siaddr,
lease->address.len);
#endif
Modified: trunk/reactos/base/services/dhcp/include/dhcpd.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/dhcp/include…
==============================================================================
--- trunk/reactos/base/services/dhcp/include/dhcpd.h (original)
+++ trunk/reactos/base/services/dhcp/include/dhcpd.h Sat Oct 6 22:04:03 2007
@@ -158,7 +158,7 @@
time_t expiry, renewal, rebind;
struct iaddr address;
char *server_name;
-#ifdef _REACTOS_
+#ifdef __REACTOS__
time_t obtained;
struct iaddr serveraddress;
#endif
@@ -178,7 +178,7 @@
S_BOUND,
S_RENEWING,
S_REBINDING,
- S_STATIC
+ S_STATIC
};
struct client_config {
Modified: trunk/reactos/include/ndk/i386/ketypes.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/i386/ketypes.h…
==============================================================================
--- trunk/reactos/include/ndk/i386/ketypes.h (original)
+++ trunk/reactos/include/ndk/i386/ketypes.h Sat Oct 6 22:04:03 2007
@@ -628,7 +628,7 @@
ULONG IDR;
PVOID KdVersionBlock;
PKIDTENTRY IDT;
-#ifdef _REACTOS_
+#ifdef __REACTOS__
PUSHORT GDT;
#else
PKGDTENTRY GDT;
Modified: trunk/reactos/include/psdk/rpc.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/rpc.h?rev=294…
==============================================================================
--- trunk/reactos/include/psdk/rpc.h (original)
+++ trunk/reactos/include/psdk/rpc.h Sat Oct 6 22:04:03 2007
@@ -22,7 +22,7 @@
extern "C" {
#endif
-#if defined( MAC ) || defined( _MAC ) || defined(__powerpc__) &&
!defined(_REACTOS_)
+#if defined( MAC ) || defined( _MAC ) || defined(__powerpc__) &&
!defined(__REACTOS__)
#define __RPC_MAC__
#define __RPC_WIN32__
#include <pshpack2.h>