#ifndef __WOKNT_FILETIME_HXX
# define __WOKNT_FILETIME_HXX
+#ifdef WNT
+
# ifndef STRICT
# define STRICT
# endif // STRICT
typedef time_t WOKNT_TimeStat;
#endif // __WOKNT_FILETIME_HXX
+
+#endif
typedef char _TCHAR;
typedef char TCHAR;
typedef unsigned char _TUCHAR;
-# endif /* WNT */
+
/***/
/******************************************************************************/
/* Definitions for data structures callers pass the regex library. */
# endif /* __cplusplus */
/***/
/******************************************************************************/
-#endif /* __REGEXP_H */
+# endif /* __REGEXP_H */
+#endif /* WNT */
# include <config.h>
#endif
-#ifdef HAVE_ALLOCA_H
-# include <alloca.h>
-#else
/* alloca() non disponible sur HPUX 9.07 */
-# ifdef __cplusplus
+#ifdef __cplusplus
extern "C" {
-# endif
+#endif
void *alloca(unsigned int);
# ifdef __cplusplus
}
#endif
-void *alloca(unsigned int size){return (void *)0L;}
-#endif
-
#include <WOKNT_regexp.h>
if ( stacke - stackb > RE_MAX_FAILURES ) return -2;
- stackx = ( _TUCHAR** ) alloca ( 2 * ( stacke - stackb ) * sizeof ( _TCHAR* ) );
+ stackx = ( _TUCHAR** ) alloca( 2 * ( stacke - stackb ) * sizeof ( _TCHAR* ) );
memcpy ( stackx, stackb, ( stacke - stackb ) * sizeof ( _TCHAR* ) );
stackp = stackx + ( stackp - stackb );
stacke = stackx + 2 * ( stacke - stackb );
if ( stackp == stacke ) {
_TUCHAR** stackx =
- ( _TUCHAR** ) alloca ( 2 * ( stacke - stackb ) * sizeof ( _TUCHAR* ) );
+ ( _TUCHAR** ) alloca( 2 * ( stacke - stackb ) * sizeof ( _TUCHAR* ) );
memcpy ( stackx, stackb, (stacke - stackb) * sizeof ( _TCHAR* ) );
stackp = stackx + ( stackp - stackb );