From 69df782740ef0fddcc7cd1bd7726b5858e2c89f7 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 23 Sep 2009 08:33:23 +0000 Subject: [PATCH] Fixed compilation error --- ext/mysqlnd/mysqlnd_portability.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ext/mysqlnd/mysqlnd_portability.h b/ext/mysqlnd/mysqlnd_portability.h index ca6f5541c4..a4945a9da5 100644 --- a/ext/mysqlnd/mysqlnd_portability.h +++ b/ext/mysqlnd/mysqlnd_portability.h @@ -9,6 +9,9 @@ This file is public domain and comes with NO WARRANTY of any kind */ were added to improve the header file, to get it more consistent. */ +#ifndef MYSQLND_PORTABILITY_H +#define MYSQLND_PORTABILITY_H + /* Comes from global.h as OFFSET, renamed to STRUCT_OFFSET */ #define STRUCT_OFFSET(t, f) ((size_t)(char *)&((t *)0)->f) @@ -497,6 +500,7 @@ typedef union { #endif /* WORDS_BIGENDIAN */ +#endif /* MYSQLND_PORTABILITY_H */ /* -- 2.50.1