summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2f55e59)
raw | patch | inline | side by side (parent: 2f55e59)
author | fgsfds <pvt.fgsfds@gmail.com> | |
Wed, 11 Mar 2020 19:55:44 +0000 (22:55 +0300) | ||
committer | fgsfds <pvt.fgsfds@gmail.com> | |
Wed, 11 Mar 2020 19:55:44 +0000 (22:55 +0300) |
src/game/g_net.pas | patch | blob | history | |
src/shared/utils.pas | patch | blob | history |
diff --git a/src/game/g_net.pas b/src/game/g_net.pas
index b658c3780919afd56bc5664576957791504d214b..fbc85eec75c06e797d0a006a452f9c33f9e16cbe 100644 (file)
--- a/src/game/g_net.pas
+++ b/src/game/g_net.pas
BANLIST_FILENAME = 'banlist.txt';
NETDUMP_FILENAME = 'netdump';
- {$IF DEFINED(FREEBSD) OR DEFINED(DARWIN)}
- NilThreadId = nil;
- {$ELSE}
- NilThreadId = 0;
- {$ENDIF}
-
type
TNetMapResourceInfo = record
wadName: AnsiString; // wad file name, without a path
diff --git a/src/shared/utils.pas b/src/shared/utils.pas
index 57ce782cad7f8a10c7186575b5143de7b0753888..26150aa3f2e4627706b19df003439de4c7d4a045 100644 (file)
--- a/src/shared/utils.pas
+++ b/src/shared/utils.pas
'.dfzip'
);
+{$IF DEFINED(FREEBSD) OR DEFINED(DARWIN)}
+const NilThreadId = nil;
+{$ELSE}
+const NilThreadId = 0;
+{$ENDIF}
+
// ////////////////////////////////////////////////////////////////////////// //
type