From 0741fa21ac6cb477891ef15f269c8c8f36cac7c6 Mon Sep 17 00:00:00 2001 From: srs5694 Date: Wed, 9 Jan 2013 12:55:40 -0500 Subject: 0.8.6 release. --- support.h | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'support.h') diff --git a/support.h b/support.h index 39098dc..571bf76 100644 --- a/support.h +++ b/support.h @@ -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 -#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 -- cgit v1.2.1