diff options
author | Daichi GOTO <daichi@FreeBSD.org> | 2012-05-09 19:28:24 +0000 |
---|---|---|
committer | Daichi GOTO <daichi@FreeBSD.org> | 2012-05-09 19:28:24 +0000 |
commit | d5110194a59360ce3b0cc2dbe57360beba1c4a19 (patch) | |
tree | 4f92857a5f840d9d8638b6aaec61db2614e62b06 /japanese/kon2-16dot/files/patch-include_defs.h | |
parent | Update to 2.03pre8 (diff) |
- fixed the building on amd64
- fixed the building on 9+
- clean-up patches
PR: 167724
Submitted by: Masamichi Takatsu <taka2@doga.co.jp>
Notes
Notes:
svn path=/head/; revision=296316
Diffstat (limited to 'japanese/kon2-16dot/files/patch-include_defs.h')
-rw-r--r-- | japanese/kon2-16dot/files/patch-include_defs.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/japanese/kon2-16dot/files/patch-include_defs.h b/japanese/kon2-16dot/files/patch-include_defs.h index 62e6fa1ecaec..2cf8f86586dd 100644 --- a/japanese/kon2-16dot/files/patch-include_defs.h +++ b/japanese/kon2-16dot/files/patch-include_defs.h @@ -1,9 +1,9 @@ - --- include/defs.h 30 Sep 2008 08:02:59 -0000 1.1.1.1 - +++ include/defs.h 23 Oct 2008 09:27:32 -0000 - @@ -37,4 +37,6 @@ - #define FAILURE (-1) - #define SUCCESS (0) - - +#define SafeFree(x) do { if ((x) != NULL) free(x), (x) = NULL; } while (0) - + - #endif +--- include/defs.h.orig 1997-01-24 16:04:32.000000000 +0900 ++++ include/defs.h 2012-05-10 00:14:28.733561206 +0900 +@@ -37,4 +37,6 @@ + #define FAILURE (-1) + #define SUCCESS (0) + ++#define SafeFree(x) do { if ((x) != NULL) free(x), (x) = NULL; } while (0) ++ + #endif |