diff options
author | Dmitry Stogov <dmitry@php.net> | 2009-09-23 08:33:23 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2009-09-23 08:33:23 +0000 |
commit | 69df782740ef0fddcc7cd1bd7726b5858e2c89f7 (patch) | |
tree | c6f324bd164f04167d4748d9f868b652b6354ea6 /ext/mysqlnd/mysqlnd_portability.h | |
parent | 8bbad1ad60f0f32318c7f3b7631ab3ca8f0f89e0 (diff) | |
download | php-git-69df782740ef0fddcc7cd1bd7726b5858e2c89f7.tar.gz |
Fixed compilation error
Diffstat (limited to 'ext/mysqlnd/mysqlnd_portability.h')
-rw-r--r-- | ext/mysqlnd/mysqlnd_portability.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 */ /* |