suddenly getting warning: redefinition of constant/macro
#1

warning 201: redefinition of constant/macro (symbol "isnull(%1)")

on this line:

pawn Код:
#define isnull(%1) \
    ((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
Reply
#2

may be some of ur include say ZCMD is having it already.
as defined
so do this
pawn Код:
#if !defined
 #define isnull(%1) \
    ((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
#endif
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)