]> git.sesse.net Git - freerainbowtables/blob - Common/rt api/global.h
04c4e804dd1cd7b68f23398fa6adb916ac013655
[freerainbowtables] / Common / rt api / global.h
1 /*
2  * rcracki_mt is a multithreaded implementation and fork of the original 
3  * RainbowCrack
4  *
5  * Copyright 2009, 2010 DaniĆ«l Niggebrugge <niggebrugge@fox-it.com>
6  * Copyright 2009, 2010 James Nobis <frt@quelrod.net>
7  *
8  * This file is part of racrcki_mt.
9  *
10  * rcracki_mt is free software: you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation, either version 2 of the License, or
13  * (at your option) any later version.
14  *
15  * rcracki_mt is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with rcracki_mt.  If not, see <http://www.gnu.org/licenses/>.
22  */
23
24 #ifndef _GLOBAL_H
25 #define _GLOBAL_H
26
27 //#include <stdint.h>
28
29 #if defined(_WIN32) && !defined(__GNUC__)
30         #define uint64 unsigned __int64
31 #else
32         #ifndef u_int64_t
33                 #define uint64 unsigned long long
34         #else
35                 #define uint64 u_int64_t
36         #endif
37 #endif
38
39 #if defined(_WIN32) && !defined(__GNUC__)
40         #define UINT4 unsigned __int32
41 #else
42         #ifndef u_int32_t
43                 #define UINT4 unsigned int
44         #else
45                 #define UINT4 u_int32_t
46         #endif
47 #endif
48
49 #endif /* !GLOBAL_H */