- fix build

This commit is contained in:
Pierre Joye 2008-08-23 17:08:30 +00:00
parent 5872c6b3c8
commit 662e4b7725
2 changed files with 19 additions and 5 deletions

View File

@ -69,6 +69,20 @@
#include <stdio.h>
#endif
#if defined(__GNUC__)
# ifdef inline
# undef inline
# endif
# define inline inline __attribute__((always_inline))
#elif defined(_MSC_VER)
# define inline __forceinline
#else
# ifndef inline
# define inline
# endif
#endif
#include "crypt_freesec.h"
#define _PASSWORD_EFMT1 '_'

View File

@ -2,14 +2,14 @@
#ifndef _CRYPT_FREESEC_H
#define _CRYPT_FREESEC_H
#include "php_config.h"
#if PHP_WIN32
# include "win32/php_stdint.h"
#elif HAVE_STDINT_H
# include <stdint.h>
#endif
#if !PHP_WIN32
#else
# include "php_config.h"
# if HAVE_STDINT_H
# include <stdint.h>
# endif
# ifndef HAVE_U_INT32_T
typedef uint32_t u_int32_t;
# endif