Changeset 1044 in svn for trunk


Ignore:
Timestamp:
2012-07-25T09:03:22Z (3 years ago)
Author:
Xuefer
Message:

refactor: fix c89 compatibility

Location:
trunk
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/devel/run

    r1028 r1044  
    129129    phpize --clean \
    130130    && phpize \
    131     && CFLAGS="-g -O0 -Wall -Wno-unused -W -Wshadow -Werror=implicit-function-declaration -std=gnu99" ./configure \
     131    && CFLAGS="-g -O0 -Wall -Wno-unused -W -Wshadow -Werror=implicit-function-declaration -std=c89 -D_GNU_SOURCE -D_POSIX_SOURCE -Dinline=" ./configure \
    132132        --enable-xcache-cacher \
    133133        --enable-xcache-optimizer \
  • trunk/mod_cacher/xc_cacher.h

    r1040 r1044  
    44#if _MSC_VER > 1000
    55#pragma once
    6 #endif // _MSC_VER > 1000
     6#endif /* _MSC_VER > 1000 */
    77
    88int xc_cacher_startup_module();
  • trunk/mod_coverager/xc_coverager.h

    r1026 r1044  
    44#if _MSC_VER > 1000
    55#pragma once
    6 #endif // _MSC_VER > 1000
     6#endif /* _MSC_VER > 1000 */
    77
    88#include "php.h"
  • trunk/mod_disassembler/xc_disassembler.h

    r1026 r1044  
    44#if _MSC_VER > 1000
    55#pragma once
    6 #endif // _MSC_VER > 1000
     6#endif /* _MSC_VER > 1000 */
    77
    88int xc_disassembler_startup_module();
  • trunk/mod_optimizer/xc_optimizer.h

    r1026 r1044  
    44#if _MSC_VER > 1000
    55#pragma once
    6 #endif // _MSC_VER > 1000
     6#endif /* _MSC_VER > 1000 */
    77
    88#include "php.h"
  • trunk/util/xc_trace.h

    r1006 r1044  
    44#if _MSC_VER > 1000
    55#pragma once
    6 #endif // _MSC_VER > 1000
     6#endif /* _MSC_VER > 1000 */
    77
    88#ifdef ZEND_WIN32
  • trunk/util/xc_vector.h

    r982 r1044  
    44#if _MSC_VER > 1000
    55#pragma once
    6 #endif // _MSC_VER > 1000
     6#endif /* _MSC_VER > 1000 */
    77
    88typedef struct {
  • trunk/xcache/xc_compatibility.h

    r1027 r1044  
    44#if _MSC_VER > 1000
    55#pragma once
    6 #endif // _MSC_VER > 1000
     6#endif /* _MSC_VER > 1000 */
    77
    88#include "php.h"
  • trunk/xcache/xc_extension.h

    r1026 r1044  
    44#if _MSC_VER > 1000
    55#pragma once
    6 #endif // _MSC_VER > 1000
     6#endif /* _MSC_VER > 1000 */
    77
    88#include "zend_extensions.h"
  • trunk/xcache/xc_ini.h

    r1026 r1044  
    44#if _MSC_VER > 1000
    55#pragma once
    6 #endif // _MSC_VER > 1000
     6#endif /* _MSC_VER > 1000 */
    77
    88#include "php.h"
  • trunk/xcache/xc_lock.h

    r1027 r1044  
    44#if _MSC_VER > 1000
    55#pragma once
    6 #endif // _MSC_VER > 1000
     6#endif /* _MSC_VER > 1000 */
    77
    88typedef struct _xc_lock_t xc_lock_t;
  • trunk/xcache/xc_mem.c

    r999 r1044  
    2121#define XC_MEM_IMPL _xc_mem_mem_t
    2222#include "xc_shm.h"
    23 // #include "xc_utils.h"
    2423#include "util/xc_align.h"
    2524#include "util/xc_trace.h"
  • trunk/xcache/xc_sandbox.h

    r1026 r1044  
    44#if _MSC_VER > 1000
    55#pragma once
    6 #endif // _MSC_VER > 1000
     6#endif /* _MSC_VER > 1000 */
    77
    88/* Purpose: run specified function in compiler sandbox, restore everything to previous state after it returns
Note: See TracChangeset for help on using the changeset viewer.