3 * Copyright (C) 2003 ReactOS Team
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 * COPYRIGHT: See COPYING in the top level directory
21 * PROJECT: ReactOS hive maker
22 * FILE: tools/mkhive/mkhive.h
24 * PROGRAMMER: Eric Kohl
33 typedef char CHAR, *PCHAR;
34 typedef short WCHAR, *PWCHAR;
35 typedef unsigned char UCHAR, *PUCHAR;
36 typedef short SHORT, *PSHORT;
37 typedef unsigned short USHORT, *PUSHORT;
38 typedef long LONG, *PLONG;
39 typedef unsigned long ULONG, *PULONG;
41 typedef unsigned long ULONG_PTR;
43 typedef int BOOL, *PBOOL;
53 #define NULL ((void*)0)
58 #define max(a, b) (((a) > (b)) ? (a) : (b))
62 #define min(a, b) (((a) < (b)) ? (a) : (b))
66 /* Debugging macros */
68 #define DPRINT1(args...) do { printf("(%s:%d) ",__FILE__,__LINE__); printf(args); } while(0);
69 #define CHECKPOINT1 do { printf("%s:%d\n",__FILE__,__LINE__); } while(0);
71 #define DPRINT(args...)
75 #endif /* __MKHIVE_H__ */