ipc/chromium/src/third_party/libevent/strlcpy-internal.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 #ifndef _STRLCPY_INTERNAL_H_
     2 #define _STRLCPY_INTERNAL_H_
     4 #ifdef __cplusplus
     5 extern "C" {
     6 #endif
     8 #include "event2/event-config.h"
    10 #ifndef _EVENT_HAVE_STRLCPY
    11 #include <string.h>
    12 size_t _event_strlcpy(char *dst, const char *src, size_t siz);
    13 #define strlcpy _event_strlcpy
    14 #endif
    16 #ifdef __cplusplus
    17 }
    18 #endif
    20 #endif

mercurial