Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 0dec4f51da
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (24 sloc) 0.452 kB
/*
* util.h
* MacBill
*
* Created by Ishioka Hiroshi on Sun Dec 16 2001.
* Copyright (c) 2001-2002 Ishioka Hiroshi. All rights reserved.
*
*/
#ifdef RAND
#undef RAND
#endif
#define RAND(lb, ub) (random() % ((ub) - (lb) + 1) + (lb))
#ifdef MAX
#undef MAX
#endif
#define MAX(x, y) ((x) > (y) ? (x) : (y))
#ifdef MIN
#undef MIN
#endif
#define MIN(x, y) ((x) < (y) ? (x) : (y))
#ifdef UNUSED
#undef UNUSED
#endif
#define UNUSED(x) (void)(x)
Jump to Line
Something went wrong with that request. Please try again.