X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Flibrfid%2Frfid_system.h;h=9b6ffb7cc1c08dd4eb1e446a646f2cc4bf9650ef;hb=e899957ac31be0e90234a6ac968dbca82cd12058;hp=56441bb23ccabaeb5a9d5776ec472ee472778f05;hpb=fb488a0210b1c694dba762ba086f43a5d4655c4f;p=librfid diff --git a/include/librfid/rfid_system.h b/include/librfid/rfid_system.h index 56441bb..9b6ffb7 100644 --- a/include/librfid/rfid_system.h +++ b/include/librfid/rfid_system.h @@ -1,10 +1,14 @@ /* system / environment specific defines */ +/* build for openpcd firmware */ //#define LIBRFID_FIRMWARE +/* build without dynamic allocations */ +//#define LIBRFID_STATIC + #ifdef __LIBRFID__ -#ifndef LIBRFID_FIRMWARE +#ifndef LIBRFID_STATIC /* If we're not doing a firmware compile, then we just use the regular * malloc()/free() functions as expected */ @@ -48,6 +52,6 @@ extern struct rfid_reader_handle rfid_rh; #define malloc_reader_handle(x) &rfid_rh #define free_reader_handle(x) EMPTY_STATEMENT -#endif /* LIBRFID_FIRMWARE */ +#endif /* LIBRFID_STATIC */ #endif /* __LIBRFID__ */