22 lines
418 B
C
22 lines
418 B
C
#if defined(__linux__)
|
|
#include <sys/inotify.h>
|
|
#endif
|
|
|
|
#define STR_EXPAND(VALUE) #VALUE
|
|
#define STR(VALUE) STR_EXPAND(VALUE)
|
|
|
|
static inline const char* SPM_VendorNameString() {
|
|
#ifdef SPM_VENDOR_NAME
|
|
return STR(SPM_VENDOR_NAME);
|
|
#else
|
|
return "";
|
|
#endif
|
|
}
|
|
static inline const char* SPM_BuildIdentifierString() {
|
|
#ifdef SPM_BUILD_IDENT
|
|
return STR(SPM_BUILD_IDENT);
|
|
#else
|
|
return "";
|
|
#endif
|
|
}
|