Skip to content

Commit 3dcea60

Browse files
author
Bart Roossien
committed
refactor: removing additional guards
1 parent c77eb9f commit 3dcea60

File tree

315 files changed

+91
-694
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

315 files changed

+91
-694
lines changed

Core/Libraries/Include/rts/debug.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@
2626
//
2727
// Proxy header for debug module
2828
//////////////////////////////////////////////////////////////////////////////
29-
#ifdef _MSC_VER
30-
# pragma once
31-
#endif
29+
#pragma once
3230
#ifndef PROXY_DEBUG_H // Include guard
3331
#define PROXY_DEBUG_H
3432

Core/Libraries/Include/rts/profile.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@
2626
//
2727
// Proxy header for profile module
2828
//////////////////////////////////////////////////////////////////////////////
29-
#ifdef _MSC_VER
3029
# pragma once
31-
#endif
3230
#ifndef PROXY_PROFILE_H // Include guard
3331
#define PROXY_PROFILE_H
3432

Core/Libraries/Source/WWVegas/WW3D2/intersec.inl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@
1717
*/
1818

1919

20-
#if defined(_MSC_VER)
2120
#pragma once
22-
#endif
2321

2422
#ifndef INTERSEC_INL
2523
#define INTERSEC_INL

Core/Libraries/Source/WWVegas/WW3D2/polyinfo.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@
3838
#ifndef POLYINFO_H
3939
#define POLYINFO_H
4040

41-
#if _MSC_VER >= 1000
4241
#pragma once
43-
#endif // _MSC_VER >= 1000
42+
4443

4544
class TextureClass;
4645
class VertexMaterialClass;

Core/Libraries/Source/WWVegas/WWDebug/wwdebug.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@
3434
* Functions: *
3535
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
3636

37-
#if _MSC_VER >= 1000
3837
#pragma once
39-
#endif // _MSC_VER >= 1000
4038

4139
#ifndef WWDEBUG_H
4240
#define WWDEBUG_H

Core/Libraries/Source/WWVegas/WWDebug/wwhack.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@
3434
* Functions: *
3535
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
3636

37-
#if _MSC_VER >= 1000
3837
#pragma once
39-
#endif // _MSC_VER >= 1000
4038

4139
#ifndef WWHACK_H
4240
#define WWHACK_H

Core/Libraries/Source/WWVegas/WWDebug/wwmemlog.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@
3737
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
3838

3939

40-
#if _MSC_VER >= 1000
4140
#pragma once
42-
#endif
4341

4442
#ifndef WWMEMLOG_H
4543
#define WWMEMLOG_H

Core/Libraries/Source/WWVegas/WWDebug/wwprofile.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@
3434
* Functions: *
3535
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
3636

37-
#if _MSC_VER >= 1000
3837
#pragma once
39-
#endif // _MSC_VER >= 1000
4038

4139
//#define ENABLE_TIME_AND_MEMORY_LOG
4240

Core/Libraries/Source/WWVegas/WWLib/BSEARCH.H

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@
1717
*/
1818

1919

20-
#if _MSC_VER >= 1000
2120
#pragma once
22-
#endif // _MSC_VER >= 1000
2321

2422
#ifndef BSEARCH_H
2523
#define BSEARCH_H

Core/Libraries/Source/WWVegas/WWLib/BUFF.H

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@
3333
*---------------------------------------------------------------------------------------------*
3434
* Functions: *
3535
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
36-
#if _MSC_VER >= 1000
3736
#pragma once
38-
#endif // _MSC_VER >= 1000
3937

4038
#ifndef CCBUFF_H
4139
#define CCBUFF_H

0 commit comments

Comments
 (0)