Skip to content
Snippets Groups Projects
Commit b0d437ec authored by Luigi Scarso's avatar Luigi Scarso
Browse files

stub ffi for Mac OSX PPC

[[Split portion of a mixed commit.]]
parent 1206b042
No related branches found
Tags
No related merge requests found
...@@ -142,7 +142,7 @@ static void (lua_remove)(lua_State *L, int idx) { ...@@ -142,7 +142,7 @@ static void (lua_remove)(lua_State *L, int idx) {
#elif defined __powerpc64__ #elif defined __powerpc64__
# define ARCH_PPC64 # define ARCH_PPC64
#else #else
# error # define UNSUPPORTED_ARCH
#endif #endif
......
...@@ -198,7 +198,7 @@ void init_start_time(void) { ...@@ -198,7 +198,7 @@ void init_start_time(void) {
if (source_date_epoch && source_date_epoch != '\0' ) { if (source_date_epoch && source_date_epoch != '\0' ) {
errno = 0; errno = 0;
epoch = strtoull(source_date_epoch, &endptr, 10); epoch = strtoull(source_date_epoch, &endptr, 10);
if (epoch < 0 || *endptr != '\0' || errno != 0) { if (*endptr != '\0' || errno != 0) {
epoch = 0; epoch = 0;
} }
#if defined(_MSC_VER) #if defined(_MSC_VER)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment