Edit

kc3-lang/libevent/strlcpy-internal.h

Branch :

  • Show log

    Commit

  • Author : Nick Mathewson
    Date : 2009-11-06 21:46:57
    Hash : 784b8773
    Message : We do not work any more without an event-config.h; stop pretending that it is meaningful to check for HAVE_CONFIG_H svn:r1516

  • strlcpy-internal.h
  • #ifndef _STRLCPY_INTERNAL_H_
    #define _STRLCPY_INTERNAL_H_
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    #include "event-config.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