Game: Fix wrong count of secrets in stats after loading a saved game
[d2df-sdl.git] / src / lib / enet / enet.pp
blobf0d584976b86861395b0578d59dc2e7b0fbedd4c
1 (* Copyright (C) 2016 - The Doom2D.org team & involved community members <http://www.doom2d.org>.
2 * This file is part of Doom2D Forever.
4 * This program is free software: you can redistribute it and/or modify it under the terms of
5 * the GNU General Public License as published by the Free Software Foundation, version 3 of
6 * the License ONLY.
8 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
9 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 * See the GNU General Public License for more details.
12 * You should have received a copy of the GNU General Public License along with this program.
13 * If not, see <http://www.gnu.org/licenses/>.
16 {$MACRO ON}
17 {.$DEFINE LIBENET_WINDOZE_STATIC}
19 {$IFDEF WIN32}
20 {$DEFINE MSWINDOWS}
21 {$ENDIF}
23 {$IFDEF MSWINDOWS}
24 {$IFDEF LIBENET_WINDOZE_STATIC}
25 {$LINKLIB libenet.a}
26 {$LINKLIB libwinmm.a}
27 {$LINKLIB libws2_32.a}
28 {$LINKLIB libkernel32.a}
29 {$LINKLIB libm.a}
30 {$LINKLIB libmingwex.a}
31 {$LINKLIB libmingw32.a}
32 {$LINKLIB libmsvcrt.a}
33 {$LINKLIB libgcc.a}
34 {$DEFINE libraryENet := cdecl; external}
35 {$ENDIF}
36 {$ELSE}
37 {$IFDEF DARWIN}
38 {$LINKLIB libenet}
39 {$DEFINE libraryENet := cdecl; external}
40 {$ENDIF}
41 {$ENDIF}
44 {$INCLUDE 'ENet-Pascal/enet.pp'}