Changeset 156 for trunk/include


Ignore:
Timestamp:
Jan 13, 2008, 7:25:06 PM (17 years ago)
Author:
katerina
Message:

Put result vector of rng in skey struct, fix HP-UX compile error.

Location:
trunk/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/samhain.h

    r149 r156  
    9898#ifdef HAVE_INTTYPES_H
    9999#include <inttypes.h>
    100 #else
     100#endif
    101101#ifdef HAVE_STDINT_H
    102102#include <stdint.h>
    103103#endif
    104 #endif
    105 
    106 #if !defined(HAVE_INTTYPES_H) && !defined(HAVE_STDINT_H)
     104
     105#if !defined(HAVE_UINT64_T)
    107106
    108107#ifdef HAVE_LONG_LONG_64
     
    112111#define  UINT64 unsigned long
    113112#else
    114 #define UINT64_IS_32
    115 #define  UINT64 unsigned long
     113#error "no 64bit type found"
    116114#endif
    117115#endif
     
    135133#define SH_MOD_ACTIVE  0
    136134#define SH_MOD_FAILED -1
    137  
     135
    138136/* Flags for file status
    139137 */
     
    325323  UINT32 rng2[3];
    326324
     325  UINT32 res_vec[6];
     326
    327327  UINT32 ErrFlag[2];
    328328
  • trunk/include/sh_unix.h

    r149 r156  
    2323#define SH_UNIX_H
    2424
     25/* For PATH_MAX */
    2526#include <limits.h>
     27#if !defined(PATH_MAX)
     28#define PATH_MAX 1024
     29#endif
     30
    2631#include <unistd.h>
    2732#include "samhain.h"
  • trunk/include/slib.h

    r149 r156  
    6868#define SL_GNUC_CONST   __attribute__((const))
    6969#else
    70 #undef  SH_GNUC_CONST
    71 #define SH_GNUC_CONST
     70#undef  SL_GNUC_CONST
     71#define SL_GNUC_CONST
    7272#endif
    7373
Note: See TracChangeset for help on using the changeset viewer.