mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[server] Add missing SAFE_DELETE macro
This commit is contained in:
parent
be23b93702
commit
d3fb442d5d
@ -20,6 +20,7 @@
|
||||
#define DEFAULT_LISTEN_PORT 8192
|
||||
|
||||
#define ARRAY_SIZE(a) ( sizeof((a)) / sizeof(*(a)) )
|
||||
#define SAFE_DELETE(p) { if (p) { delete (p); (p) = NULL; } }
|
||||
|
||||
// ------------
|
||||
// VERSION INFO
|
||||
|
Loading…
Reference in New Issue
Block a user