Sha256: 28c0d6a79a98311619886106928161154d8d30fbae4d975363948542a0a3864a

Contents?: true

Size: 653 Bytes

Versions: 3

Compression:

Stored size: 653 Bytes

Contents

/*
 * Copyright (c) Edward Thomson.  All rights reserved.
 *
 * This file is part of ntlmclient, distributed under the MIT license.
 * For full terms and copyright information, and for third-party
 * copyright information, see the included LICENSE.txt file.
 */

#ifndef PRIVATE_COMPAT_H__
#define PRIVATE_COMPAT_H__

#if defined (_MSC_VER)
 typedef unsigned char bool;
# ifndef true
#  define true 1
# endif
# ifndef false
#  define false 0
# endif
#else
# include <stdbool.h>
#endif

#ifdef __linux__
# include <endian.h>
# define htonll htobe64
#endif

#ifndef MIN
# define MIN(x, y) (((x) < (y)) ? (x) : (y))
#endif

#endif /* PRIVATE_COMPAT_H__ */

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rugged-0.99.0 vendor/libgit2/deps/ntlmclient/compat.h
rugged-0.28.4 vendor/libgit2/deps/ntlmclient/compat.h
rugged-0.27.10 vendor/libgit2/deps/ntlmclient/compat.h