mirror of
https://github.com/godotengine/godot-git-plugin.git
synced 2026-01-06 02:09:44 +03:00
* Add libgit2 libs + source * Set libgit2 dll as dependency of gitapi * Add libgit2 shared object * Add x11 git2 static lib * Add libgit2 binaries to demo project * Add windows binaries to demo project for git addon * Update gitignore to regard all demo files * Add windows addon binary to demo * Add git init
34 lines
653 B
C
34 lines
653 B
C
/*
|
|
* 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__ */
|