diff options
author | lloyd <[email protected]> | 2008-09-28 16:04:33 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-09-28 16:04:33 +0000 |
commit | 4a04f965bd43bd591c8973ed025dc312823f1607 (patch) | |
tree | 30016b6e1ff6188dbcc0e183a7ae53b60051c960 /doc/examples/bzip.cpp | |
parent | 6edc83ddef93bddf70f1b259d80b104bf14524c2 (diff) |
Modularize the Adler32 checksum in checksums/adler32
Add a new option --disable-modules which allows for disabling any
set of modules that normally would be autoloaded.
Rename the Botan feature test macros from BOTAN_EXT_BLAH to BOTAN_HAS_BLAH,
which will be much more sensible especially when everything is done in this
fashion (eg, BOTAN_HAS_BLOWFISH or BOTAN_HAS_RSA, etc)
Diffstat (limited to 'doc/examples/bzip.cpp')
-rw-r--r-- | doc/examples/bzip.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/bzip.cpp b/doc/examples/bzip.cpp index a16d4f8fe..1abe4d309 100644 --- a/doc/examples/bzip.cpp +++ b/doc/examples/bzip.cpp @@ -12,7 +12,7 @@ This file is in the public domain #include <iostream> #include <botan/botan.h> -#if defined(BOTAN_EXT_COMPRESSOR_BZIP2) +#if defined(BOTAN_HAS_COMPRESSOR_BZIP2) #include <botan/bzip2.h> #endif @@ -51,7 +51,7 @@ int main(int argc, char* argv[]) try { Botan::Filter* bzip = 0; -#ifdef BOTAN_EXT_COMPRESSOR_BZIP2 +#ifdef BOTAN_HAS_COMPRESSOR_BZIP2 if(decompress) bzip = new Botan::Bzip_Decompression(small); else |