Edit

kc3-lang/libevent/strlcpy-internal.h

Branch :

  • Show log

    Commit

  • Author : Azat Khuzhin
    Date : 2017-03-12 20:50:35
    Hash : 9081b66c
    Message : Export symbols for -fvisibility=hidden (under cmake) Fixes: #442

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