From 5b1a7c35bb41fd7c33f5e1cc4679627ab59d9be2 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Wed, 24 Nov 2010 05:24:43 -0500 Subject: [PATCH] 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 --- src/config/afsconfig-windows.h | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5