Use defines instead of an enum (mostly useful for utilbox)

This commit is contained in:
Pierre Pronchery 2009-10-12 23:29:15 +00:00
parent aabbab3a3f
commit 1f3c841fe4

View File

@ -24,7 +24,11 @@
/* prefs */
typedef int Prefs;
enum { PREFS_d = 6, PREFS_h = 1, PREFS_m = 2, PREFS_M = 4, PREFS_i = 8 };
#define PREFS_h 1
#define PREFS_m 2
#define PREFS_M 4
#define PREFS_d 6
#define PREFS_i 8
/* file */