From: Jeffrey Altman Date: Wed, 24 Nov 2010 10:24:43 +0000 (-0500) Subject: Windows: indicate that roken is a dynamic library for roken.h X-Git-Tag: upstream/1.8.0_pre1^2~4462 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=5b1a7c35bb41fd7c33f5e1cc4679627ab59d9be2;p=packages%2Fo%2Fopenafs.git Windows: indicate that roken is a dynamic library for roken.h Since the windows build of roken is a dynamic library we must define ROKEN_LIB_DYNAMIC so that roken.h will specific the correct values of ROKEN_LIB_VARIABLE, ROKEN_LIB_CALL, and ROKEN_LIB_FUNCTION. Change-Id: I93a14f355d2f1984722d64fcca14336e1c1ec4d9 Reviewed-on: http://gerrit.openafs.org/3380 Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- diff --git a/src/config/afsconfig-windows.h b/src/config/afsconfig-windows.h index e05792fa1..3ad26bbd1 100644 --- a/src/config/afsconfig-windows.h +++ b/src/config/afsconfig-windows.h @@ -234,3 +234,6 @@ typedef int errno_t; #define HAVE_STRFTIME 1 #define HAVE_GETCWD 1 #define HAVE_STRUPR 1 + +/* Build afsroken.dll as a dynamic library */ +#define ROKEN_LIB_DYNAMIC 1