Skip to content

Commit d69cdea

Browse files
author
Y_Less
committed
Default sNAMEMAX.
1 parent 9d3fc88 commit d69cdea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/amx/amx.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,9 @@ typedef struct tagAMX_NATIVE_INFO {
260260
#define AMX_USERNUM 4
261261
#endif
262262
#define sEXPMAX 19 /* maximum name length for file version <= 6 */
263-
#define sNAMEMAX 31 /* maximum name length of symbol name */
263+
#ifndef sNAMEMAX
264+
#define sNAMEMAX 31 /* maximum name length of symbol name */
265+
#endif
264266

265267
typedef struct tagAMX_FUNCSTUB {
266268
ucell address PACKED;

0 commit comments

Comments
 (0)