From 12afeca214c4414a0ced0bc4654d0fc5908dc77b Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 16 Dec 2009 02:22:58 +0000 Subject: Make many more headers internal-only. Fixes for the amalgamation generator for internal headers. Remove BOTAN_DLL exporting macros from all internal-only headers; the classes/functions there don't need to be exported, and avoiding the PIC/GOT indirection can be a big win. Add missing BOTAN_DLLs where necessary, mostly gfpmath and cvc For GCC, use -fvisibility=hidden and set BOTAN_DLL to the visibility __attribute__ to export those classes/functions. --- src/math/bigint/bigint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/math/bigint/bigint.h') diff --git a/src/math/bigint/bigint.h b/src/math/bigint/bigint.h index 4f7f6f5bd..55ccf7aae 100644 --- a/src/math/bigint/bigint.h +++ b/src/math/bigint/bigint.h @@ -40,7 +40,7 @@ class BOTAN_DLL BigInt /** * DivideByZero Exception */ - struct DivideByZero : public Exception + struct BOTAN_DLL DivideByZero : public Exception { DivideByZero() : Exception("BigInt divide by zero") {} }; /** -- cgit v1.2.3