Skip to content

Commit 0a1589e

Browse files
authored
[GEN][ZH] Remove superfluous ARRAY_SIZE macro in StagingRoomGameInfo.cpp (#1008)
1 parent 4bbf0c0 commit 0a1589e

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

Generals/Code/GameEngine/Source/GameNetwork/GameSpy/StagingRoomGameInfo.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,6 @@ typedef struct tConnInfoStruct {
9191
unsigned short RemotePort;
9292
} ConnInfoStruct;
9393

94-
#ifndef ARRAY_SIZE
95-
#define ARRAY_SIZE(a) (sizeof(a)/sizeof(a[0]))
96-
#endif
97-
9894
/***********************************************************************************************
9995
* Get_Local_Chat_Connection_Address -- Which address are we using to talk to the chat server? *
10096
* *

GeneralsMD/Code/GameEngine/Source/GameNetwork/GameSpy/StagingRoomGameInfo.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,6 @@ typedef struct tConnInfoStruct {
9191
unsigned short RemotePort;
9292
} ConnInfoStruct;
9393

94-
#ifndef ARRAY_SIZE
95-
#define ARRAY_SIZE(a) (sizeof(a)/sizeof(a[0]))
96-
#endif
97-
9894
/***********************************************************************************************
9995
* Get_Local_Chat_Connection_Address -- Which address are we using to talk to the chat server? *
10096
* *

0 commit comments

Comments
 (0)