Add MIN macro.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1402 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-03-14 02:21:14 +00:00
parent 967c661d94
commit f4820d6df4
2 changed files with 8 additions and 0 deletions

View File

@@ -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)
{

View File

@@ -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)
{