/usr/include/vowpalwabbit/crossplat_compat.h is in libvw-dev 8.5.0.dfsg1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | /*
Copyright (c) by respective owners including Yahoo!, Microsoft, and
individual contributors. All rights reserved. Released under a BSD (revised)
license as described in the file LICENSE.
*/
#pragma once
#include <stdint.h>
#ifndef _WIN32
#define sprintf_s snprintf
#define vsprintf_s vsnprintf
const uint64_t UINT64_ZERO = 0ULL;
const uint64_t UINT64_ONE = 1ULL;
#else
const uint64_t UINT64_ONE = 1i64;
const uint64_t UINT64_32ONES = 0x00000000ffffffffi64;
#endif
|