From fbbf9203da2cc24af228276cbca3fbdceca2c906 Mon Sep 17 00:00:00 2001 From: Matthew Endsley Date: Sun, 13 May 2012 19:10:39 -0700 Subject: reversing logic for library/executable compilation --- bsdiff.c | 2 +- bspatch.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bsdiff.c b/bsdiff.c index 7bfd0eb..a44f976 100644 --- a/bsdiff.c +++ b/bsdiff.c @@ -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 diff --git a/bspatch.c b/bspatch.c index 869fd10..1ba087c 100644 --- a/bspatch.c +++ b/bspatch.c @@ -121,7 +121,7 @@ int bspatch(const struct bspatch_request req) return 0; } -#if !defined(BSPATCH_LIBRARY) +#if defined(BSPATCH_EXECUTABLE) #include #include -- cgit v1.2.1