diff options
author | Matthew Endsley <mendsley@gmail.com> | 2012-05-13 19:10:39 -0700 |
---|---|---|
committer | Matthew Endsley <mendsley@gmail.com> | 2012-05-14 01:04:25 -0700 |
commit | fbbf9203da2cc24af228276cbca3fbdceca2c906 (patch) | |
tree | d6a0591975a2cdff8a623e693fcae8c69780f4f9 | |
parent | 1c8b497c9a3015c68fad915d88cb6a1b9bcdcc81 (diff) | |
download | bsdiff-fbbf9203da2cc24af228276cbca3fbdceca2c906.tar.gz |
reversing logic for library/executable compilation
-rw-r--r-- | bsdiff.c | 2 | ||||
-rw-r--r-- | bspatch.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -431,7 +431,7 @@ int bsdiff(const uint8_t* old, int64_t oldsize, const uint8_t* new, int64_t news return result; } -#if !defined(BSDIFF_LIBRARY) +#if defined(BSDIFF_EXECUTABLE) #include <sys/types.h> @@ -121,7 +121,7 @@ int bspatch(const struct bspatch_request req) return 0; } -#if !defined(BSPATCH_LIBRARY) +#if defined(BSPATCH_EXECUTABLE) #include <bzlib.h> #include <stdlib.h> |