Add MIN macro.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1402 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -5,6 +5,10 @@ RCSID("$Id$");
|
||||
struct timeval now;
|
||||
#define kdc_time now.tv_sec
|
||||
|
||||
#ifndef MIN
|
||||
#define MIN(A,B) ((A)<(B)?(A):(B))
|
||||
#endif
|
||||
|
||||
hdb_entry*
|
||||
db_fetch(krb5_context context, PrincipalName *principal, char *realm)
|
||||
{
|
||||
|
@@ -5,6 +5,10 @@ RCSID("$Id$");
|
||||
struct timeval now;
|
||||
#define kdc_time now.tv_sec
|
||||
|
||||
#ifndef MIN
|
||||
#define MIN(A,B) ((A)<(B)?(A):(B))
|
||||
#endif
|
||||
|
||||
hdb_entry*
|
||||
db_fetch(krb5_context context, PrincipalName *principal, char *realm)
|
||||
{
|
||||
|
Reference in New Issue
Block a user