Vowpal Wabbit
vowpalwabbit
crossplat_compat.h
Go to the documentation of this file.
1
/*
2
Copyright (c) by respective owners including Yahoo!, Microsoft, and
3
individual contributors. All rights reserved. Released under a BSD (revised)
4
license as described in the file LICENSE.
5
*/
6
7
#pragma once
8
9
#include <cstdint>
10
11
#ifndef _WIN32
12
#define sprintf_s snprintf
13
#define vsprintf_s vsnprintf
14
15
constexpr uint64_t
UINT64_ZERO
= 0ULL;
16
constexpr uint64_t
UINT64_ONE
= 1ULL;
17
#else
18
constexpr uint64_t
UINT64_ONE
= 1i64;
19
constexpr uint64_t UINT64_32ONES = 0x00000000ffffffffi64;
20
#endif
UINT64_ZERO
constexpr uint64_t UINT64_ZERO
Definition:
crossplat_compat.h:15
UINT64_ONE
constexpr uint64_t UINT64_ONE
Definition:
crossplat_compat.h:16
Generated on Thu Apr 9 2020 14:45:24 for Vowpal Wabbit by
1.8.13