Implement signal support for Windows target,

Fix NDT_Root header for HP compilation: Index default number goes from 0 to 1.
This commit is contained in:
agibert
2004-08-23 22:47:22 +00:00
parent c70c4e5aba
commit 7c96ad706b
3 changed files with 95 additions and 51 deletions

View File

@@ -1,9 +1,9 @@
/*---------------------------------------------------------------------------------*/
/* $RCSfile: node.h,v $ */
/*---------------------------------------------------------------------------------*/
/* $Revision: 2.8 $ */
/* $Revision: 2.9 $ */
/* $Name: $ */
/* $Date: 2004/08/02 21:26:03 $ */
/* $Date: 2004/08/23 22:47:22 $ */
/* $Author: agibert $ */
/*---------------------------------------------------------------------------------*/
@@ -31,20 +31,20 @@
#ifndef _LIBNODE_H_
#define _LIBNODE_H_
# define _LIBNODE_H_
#ifdef __cplusplus
# ifdef __cplusplus
extern "C" {
#endif
# endif
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
# include <stdlib.h>
# include <stdio.h>
# include <string.h>
# include <stdarg.h>
#ifdef _LIBVER_SUPPORT
# include <ver.h>
#endif
# ifdef _LIBVER_SUPPORT
# include <ver.h>
# endif
@@ -275,7 +275,7 @@ typedef struct NDT_Root
NDT_Index_Nb Index_Nb;
NDT_Index_Nb Index_Open_Count;
NDT_Index Index_Tab[0];
NDT_Index Index_Tab[1];
} NDT_Root;
@@ -298,7 +298,7 @@ typedef struct NDT_DataStruct
typedef struct NDT_Node
{
NDT_Root *Root;
NDT_Root *Root;
NDT_Index_Id Index;
struct NDT_Node *Parent;
struct NDT_Node *Left;
@@ -909,8 +909,8 @@ NDD_DLL_API NDT_Status ND_Desallocator_Exec_C( NDT_Desallocator *, void *, vo
#ifdef __cplusplus
# ifdef __cplusplus
}
#endif
# endif
#endif