Edit

kc3-lang/libevent/strlcpy-internal.h

Branch :

  • Show log

    Commit

  • Author : Kevin Bowling
    Date : 2011-01-02 08:43:45
    Hash : 0915ca0a
    Message : Include evconfig-private.h in internal files for great good.

  • strlcpy-internal.h
  • #ifndef _STRLCPY_INTERNAL_H_
    #define _STRLCPY_INTERNAL_H_
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    #include "event2/event-config.h"
    #include "evconfig-private.h"
    
    #ifndef _EVENT_HAVE_STRLCPY
    #include <string.h>
    size_t _event_strlcpy(char *dst, const char *src, size_t siz);
    #define strlcpy _event_strlcpy
    #endif
    
    #ifdef __cplusplus
    }
    #endif
    
    #endif