Edit

kc3-lang/libevent/strlcpy-internal.h

Branch :

  • Show log

    Commit

  • Author : Nick Mathewson
    Date : 2009-01-27 22:30:46
    Hash : 8889a770
    Message : Replace all use of config.h with event-config.h. svn:r1064

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