Ignore:
Timestamp:
Jul 13, 2017, 9:01:05 AM (22 months ago)
Author:
Juanma
Message:

Initial release

File:
1 edited

Legend:

Unmodified
Added
Removed
  • squid-ssl/trunk/fuentes/libltdl/libltdl/lt__private.h

    r5495 r5496  
    11/* lt__private.h -- internal apis for libltdl
    22
    3    Copyright (C) 2004-2008, 2011-2015 Free Software Foundation, Inc.
     3   Copyright (C) 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
    44   Written by Gary V. Vaughan, 2004
    55
     
    2929*/
    3030
    31 #if !defined LT__PRIVATE_H
     31#if !defined(LT__PRIVATE_H)
    3232#define LT__PRIVATE_H 1
    3333
    34 #if defined LT_CONFIG_H
     34#if defined(LT_CONFIG_H)
    3535#  include LT_CONFIG_H
    3636#else
     
    4444#include <string.h>
    4545
    46 #if defined HAVE_UNISTD_H
     46#if defined(HAVE_UNISTD_H)
    4747#  include <unistd.h>
    4848#endif
     
    5757#include "ltdl.h"
    5858
    59 #if defined WITH_DMALLOC
     59#if defined(WITH_DMALLOC)
    6060#  include <dmalloc.h>
    6161#endif
     
    6464   ridiculous implementation of data symbol exporting. */
    6565#ifndef LT_GLOBAL_DATA
    66 # if defined __WINDOWS__ || defined __CYGWIN__
    67 #  if defined DLL_EXPORT        /* defined by libtool (if required) */
     66# if defined(__WINDOWS__) || defined(__CYGWIN__)
     67#  if defined(DLL_EXPORT)       /* defined by libtool (if required) */
    6868#   define LT_GLOBAL_DATA       __declspec(dllexport)
    6969#  endif
     
    8787LT_BEGIN_C_DECLS
    8888
    89 #if !defined errno
     89#if !defined(errno)
    9090extern int errno;
    9191#endif
     
    9595
    9696/* For readability:  */
    97 #define STRNEQ(s1, s2)  (strcmp((s1), (s2)) != 0)
    98 #define STREQ(s1, s2)   (strcmp((s1), (s2)) == 0)
     97#define strneq(s1, s2)  (strcmp((s1), (s2)) != 0)
     98#define streq(s1, s2)   (!strcmp((s1), (s2)))
    9999
    100100
     
    147147LT_END_C_DECLS
    148148
    149 #endif /*!defined LT__PRIVATE_H*/
     149#endif /*!defined(LT__PRIVATE_H)*/
Note: See TracChangeset for help on using the changeset viewer.