diff options
author | srs5694 <srs5694@users.sourceforge.net> | 2013-01-09 12:55:40 -0500 |
---|---|---|
committer | srs5694 <srs5694@users.sourceforge.net> | 2013-01-09 12:55:40 -0500 |
commit | 0741fa21ac6cb477891ef15f269c8c8f36cac7c6 (patch) | |
tree | b37926ea88396302141f9feeb1806c6bf3ac2455 /support.h | |
parent | d8eed4629449a325999808a0170dbda53bd4a6df (diff) | |
download | sgdisk-0741fa21ac6cb477891ef15f269c8c8f36cac7c6.tar.gz |
0.8.6 release.
Diffstat (limited to 'support.h')
-rw-r--r-- | support.h | 18 |
1 files changed, 11 insertions, 7 deletions
@@ -8,7 +8,7 @@ #ifndef __GPTSUPPORT #define __GPTSUPPORT -#define GPTFDISK_VERSION "0.8.5.4" +#define GPTFDISK_VERSION "0.8.6" #if defined (__FreeBSD__) || defined (__FreeBSD_kernel__) || defined (__APPLE__) // Darwin (Mac OS) & FreeBSD: disk IOCTLs are different, and there is no lseek64 @@ -17,15 +17,19 @@ #endif #if defined (__FreeBSD__) || defined (__FreeBSD_kernel__) -#define DEFAULT_TYPE 0xA503 +#define DEFAULT_GPT_TYPE 0xA503 #endif #ifdef __APPLE__ -#define DEFAULT_TYPE 0xAF00 +#define DEFAULT_GPT_TYPE 0xAF00 #endif #ifdef _WIN32 -#define DEFAULT_TYPE 0x0700 +#define DEFAULT_GPT_TYPE 0x0700 +#endif + +#ifdef __sun__ +#define DEFAULT_GPT_TYPE 0xbf01 #endif // Microsoft Visual C++ only @@ -38,11 +42,11 @@ // Linux only.... #ifdef __linux__ #include <linux/fs.h> -#define DEFAULT_TYPE 0x8300 +#define DEFAULT_GPT_TYPE 0x8300 #endif -#ifndef DEFAULT_TYPE -#define DEFAULT_TYPE 0x8300 +#ifndef DEFAULT_GPT_TYPE +#define DEFAULT_GPT_TYPE 0x8300 #endif // Set this as a default |