1
//---------------------------------------------------------------------------
3
//---------------------------------------------------------------------------
5
//---------------------------------------------------------------------------
6
// Copyright (C) 2001-2005 Koen van de Sande / Van de Sande Productions
7
//---------------------------------------------------------------------------
8
// Website: http://www.tibed.net/vpatch
10
// This software is provided 'as-is', without any express or implied
11
// warranty. In no event will the authors be held liable for any damages
12
// arising from the use of this software.
14
// Permission is granted to anyone to use this software for any purpose,
15
// including commercial applications, and to alter it and redistribute it
16
// freely, subject to the following restrictions:
18
// 1. The origin of this software must not be misrepresented; you must not
19
// claim that you wrote the original software. If you use this software
20
// in a product, an acknowledgment in the product documentation would be
21
// appreciated but is not required.
22
// 2. Altered source versions must be plainly marked as such, and must not be
23
// misrepresented as being the original software.
24
// 3. This notice may not be removed or altered from any source distribution.
26
#if !defined(GlobalTypes_H)
40
typedef unsigned char uint8_t;
41
typedef unsigned __int32 uint32_t;
42
typedef unsigned __int64 uint64_t;
43
#define CHECKSUM_BLOCK unsigned __int64
46
#define CHECKSUM_BLOCK unsigned long long
49
typedef uint32_t TFileOffset;
50
typedef ifstream bifstream;
51
typedef istream bistream;
52
typedef ofstream bofstream;
53
typedef ostream bostream;
54
#endif // GlobalTypes_H
1
//---------------------------------------------------------------------------
3
//---------------------------------------------------------------------------
5
//---------------------------------------------------------------------------
6
// Copyright (C) 2001-2005 Koen van de Sande / Van de Sande Productions
7
//---------------------------------------------------------------------------
8
// Website: http://www.tibed.net/vpatch
10
// This software is provided 'as-is', without any express or implied
11
// warranty. In no event will the authors be held liable for any damages
12
// arising from the use of this software.
14
// Permission is granted to anyone to use this software for any purpose,
15
// including commercial applications, and to alter it and redistribute it
16
// freely, subject to the following restrictions:
18
// 1. The origin of this software must not be misrepresented; you must not
19
// claim that you wrote the original software. If you use this software
20
// in a product, an acknowledgment in the product documentation would be
21
// appreciated but is not required.
22
// 2. Altered source versions must be plainly marked as such, and must not be
23
// misrepresented as being the original software.
24
// 3. This notice may not be removed or altered from any source distribution.
26
#if !defined(GlobalTypes_H)
40
typedef unsigned char uint8_t;
41
typedef unsigned __int32 uint32_t;
42
typedef unsigned __int64 uint64_t;
43
#define CHECKSUM_BLOCK unsigned __int64
46
#define CHECKSUM_BLOCK unsigned long long
49
typedef uint32_t TFileOffset;
50
typedef ifstream bifstream;
51
typedef istream bistream;
52
typedef ofstream bofstream;
53
typedef ostream bostream;
54
#endif // GlobalTypes_H