Skip to content

Commit

Permalink
Remove unused mysqlnd portability macros
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Aug 12, 2021
1 parent 277e169 commit 8f55556
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions ext/mysqlnd/mysqlnd_portability.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ This file is public domain and comes with NO WARRANTY of any kind */
#ifndef MYSQLND_PORTABILITY_H
#define MYSQLND_PORTABILITY_H



/* Comes from global.h as OFFSET, renamed to STRUCT_OFFSET */
#define STRUCT_OFFSET(t, f) XtOffsetOf(t, f)

#ifndef __attribute
#if !defined(__GNUC__)
#define __attribute(A)
Expand Down Expand Up @@ -51,10 +46,6 @@ This file is public domain and comes with NO WARRANTY of any kind */

/* Go around some bugs in different OS and compilers */

#if SIZEOF_LONG_LONG > 4
#define HAVE_LONG_LONG 1
#endif

#ifdef PHP_WIN32
#define MYSQLND_SZ_T_SPEC "%Id"
#ifndef L64
Expand Down

0 comments on commit 8f55556

Please sign in to comment.