Sha256: 5341e9930fea00976cc9d768219cb5e25691dd1b20351b5ff1ec3e03dd8a8e88

Contents?: true

Size: 514 Bytes

Versions: 3

Compression:

Stored size: 514 Bytes

Contents

/*
 * Copyright (C) the libgit2 contributors. All rights reserved.
 *
 * This file is part of libgit2, distributed under the GNU GPL v2 with
 * a Linking Exception. For full terms see the included COPYING file.
 */
#ifndef INCLUDE_win32_version_h__
#define INCLUDE_win32_version_h__

#include <windows.h>

GIT_INLINE(int) git_has_win32_version(int major, int minor)
{
	WORD wVersion = LOWORD(GetVersion());

	return LOBYTE(wVersion) > major ||
		(LOBYTE(wVersion) == major && HIBYTE(wVersion) >= minor);
}

#endif

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rugged-0.19.0 vendor/libgit2/src/win32/version.h
rugged-0.18.0.gh.de28323 vendor/libgit2/src/win32/version.h
rugged-0.18.0.b1 vendor/libgit2/src/win32/version.h