From 5deee61feafc6e94c959bc12c4856912c835f7f2 Mon Sep 17 00:00:00 2001 From: Juan Carlos Luciani Date: Tue, 6 Feb 2007 23:36:07 +0000 Subject: [PATCH] Added needed defines missing in the windows environment that were keeping the components from building cleanly. --- .../client/library/mechanisms/krb5/windows/platform.h | 2 ++ .../client/library/mechanisms/pwd/windows/platform.h | 2 ++ CASA-auth-token/client/library/windows/platform.h | 2 ++ 3 files changed, 6 insertions(+) diff --git a/CASA-auth-token/client/library/mechanisms/krb5/windows/platform.h b/CASA-auth-token/client/library/mechanisms/krb5/windows/platform.h index 1b3f0f7f..bef55eec 100644 --- a/CASA-auth-token/client/library/mechanisms/krb5/windows/platform.h +++ b/CASA-auth-token/client/library/mechanisms/krb5/windows/platform.h @@ -64,6 +64,8 @@ char printBuff[256]; \ } \ } +#define INT32_MAX (2147483647) +#define UINT32_MAX (4294967295U) #define bool BOOLEAN #define true TRUE #define false FALSE diff --git a/CASA-auth-token/client/library/mechanisms/pwd/windows/platform.h b/CASA-auth-token/client/library/mechanisms/pwd/windows/platform.h index b447c1a9..04877eb8 100644 --- a/CASA-auth-token/client/library/mechanisms/pwd/windows/platform.h +++ b/CASA-auth-token/client/library/mechanisms/pwd/windows/platform.h @@ -62,6 +62,8 @@ char printBuff[256]; \ } \ } +#define INT32_MAX (2147483647) +#define UINT32_MAX (4294967295U) #define bool BOOLEAN #define true TRUE #define false FALSE diff --git a/CASA-auth-token/client/library/windows/platform.h b/CASA-auth-token/client/library/windows/platform.h index c4b03732..480b7b7e 100644 --- a/CASA-auth-token/client/library/windows/platform.h +++ b/CASA-auth-token/client/library/windows/platform.h @@ -79,6 +79,8 @@ typedef struct _RpcSession // // Other definitions // +#define INT32_MAX (2147483647) +#define UINT32_MAX (4294967295U) #define LIB_HANDLE HMODULE #define bool BOOLEAN #define true TRUE