diff options
author | CNLohr <charles@cnlohr.com> | 2018-04-04 02:27:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-04 02:27:42 -0400 |
commit | ce6322b6b604b12018a2daf427dbd36afc5fbda2 (patch) | |
tree | 5929c2793c33c80e5392982a9baaa8d5ccaca724 /src/survive.c | |
parent | 6a45298c9bc34aac59cc2ebb9de2d82c7a42756e (diff) | |
parent | c7d9d271796b20f886e2441de852498ecb25ca82 (diff) | |
download | libsurvive-ce6322b6b604b12018a2daf427dbd36afc5fbda2.tar.gz libsurvive-ce6322b6b604b12018a2daf427dbd36afc5fbda2.tar.bz2 |
Merge pull request #122 from cnlohr/imu
Imu
Diffstat (limited to 'src/survive.c')
-rw-r--r-- | src/survive.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/survive.c b/src/survive.c index f6f98fc..b024bbb 100644 --- a/src/survive.c +++ b/src/survive.c @@ -86,9 +86,8 @@ void survive_verify_FLT_size(uint32_t user_size) { if (sizeof(FLT) != user_size) { fprintf(stderr, "FLT type incompatible; the shared library libsurvive has FLT size %lu vs user program %u\n", (unsigned long)sizeof(FLT), user_size); - fprintf(stderr, - "Add '#define FLT %s' before including survive.h or recompile the shared library with the " - "appropriate flag. \n", + fprintf(stderr, "Add '#define FLT %s' before including survive.h or recompile the shared library with the " + "appropriate flag. \n", sizeof(FLT) == sizeof(double) ? "double" : "float"); exit(-1); } @@ -559,11 +558,8 @@ int survive_simple_inflate(struct SurviveContext *ctx, const char *input, int in return len; } - - #endif - const char *survive_object_codename(SurviveObject *so) { return so->codename; } const char *survive_object_drivername(SurviveObject *so) { return so->drivername; } |