From 08f3e8d3acd3daf76ea3441ba6c7fb57ad91d700 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 17 Apr 2008 10:01:46 +0000 Subject: [PATCH] Define both export variables. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23023 ec53bebd-3082-4978-b11e-865c3cabbd6b --- cf/make-proto.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cf/make-proto.pl b/cf/make-proto.pl index ed24004de..b89ef7906 100644 --- a/cf/make-proto.pl +++ b/cf/make-proto.pl @@ -311,7 +311,8 @@ if ($opt_E) { #define ${opt_E}_FUNCTION _stdcall __declspec(dllimport) #define ${opt_E}_VARIABLE __declspec(dllimport) #else -#define $opt_E +#define ${opt_E}_FUNCTION +#define ${opt_E}_VARIABLE #endif #endif