#ifndef GB_INCLUDE_H #define GB_INCLUDE_H //The function below are legacy. Don't use them in new code #define gbmemcpy(xx,yy,zz) memmove(xx,yy,zz) #include <inttypes.h> #include <bits/wordsize.h> #if __WORDSIZE == 64 #define PTRTYPE uint64_t #define SPTRTYPE int64_t #define PTRFMT "lx" #endif #if __WORDSIZE == 32 #define PTRTYPE unsigned long //uint32_t #define SPTRTYPE int32_t #define PTRFMT "lx" #endif #include <ctype.h> // Log.h #include <errno.h> // Errno.h #include <stdarg.h> // Log.h #include <stdint.h> // commonly included in include files #include <stdio.h> // commonly included in include files #include <stdlib.h> // commonly included in include files #include <string.h> // commonly included in include files #include <unistd.h> // commonly included in include files #include "types.h" // commonly included in includ files #include "fctypes.h" // commonly included in includ files #include "hash.h" // commonly included in includ files #include "Errno.h" // commonly included in include files #include "Log.h" // commonly included in include files #endif // GB_INCLUDE_H