pike.git / src / pike_macros.h

version» Context lines:

pike.git/src/pike_macros.h:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: pike_macros.h,v 1.41 2006/07/05 19:15:35 mast Exp $ + || $Id: pike_macros.h,v 1.42 2006/08/02 15:03:14 mast Exp $   */      #ifndef MACROS_H   #define MACROS_H    - #include <global.h> + #include "global.h"      #ifdef HAVE_SYS_PARAM_H   #include <sys/param.h>   #endif      #include "pike_memory.h"      #define PTR_TO_INT(PTR) ((size_t) ((char *) (PTR) - (char *) NULL))      #define OFFSETOF(str_type, field) \
pike.git/src/pike_macros.h:113:    describe(o); \    Pike_fatal("Linked in wrong list!\n"); \    } \    ) \    first_object=o->next; \    } \    \    if(o->next) o->next->prev=o->prev; \   }while(0)    -  +    #define PIKE_XCONCAT(X,Y) PIKE_CONCAT(X,Y)   #define PIKE_XCONCAT3(X,Y,Z) PIKE_CONCAT(X,Y,Z)   #define PIKE_XCONCAT4(X,Y,Z,Q) PIKE_CONCAT(X,Y,Z,Q)      /* Useful to get a literal comma in an argument to a macro. */   #define COMMA ,      /* Necessary to pass an empty argument to a macro for some preprocessors. */   #define NOTHING      /* Needed for fsort_template.h */   PMOD_EXPORT int my_log2(size_t x);      #endif