Files
SLikeNet/Source/include/slikenet/SecureHandshake.h
2025-11-24 14:19:51 +05:30

42 lines
959 B
C

/*
* Copyright (c) 2014, Oculus VR, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* RakNet License.txt file in the licenses directory of this source tree. An additional grant
* of patent rights can be found in the RakNet Patents.txt file in the same directory.
*
*/
/// \file
///
#ifndef SECURE_HANDSHAKE_H
#define SECURE_HANDSHAKE_H
#include "NativeFeatureIncludes.h"
#if LIBCAT_SECURITY==1
// If building a RakNet DLL, be sure to tweak the CAT_EXPORT macro meaning
#if !defined(_RAKNET_LIB) && defined(_RAKNET_DLL)
# define CAT_BUILD_DLL
#else
# define CAT_NEUTER_EXPORT
#endif
// Include DependentExtensions in your path to include this
#ifdef _M_X64
#pragma warning(push)
#pragma warning(disable:4838)
#endif
#include "cat/AllTunnel.hpp"
#ifdef _M_X64
#pragma warning(pop)
#endif
#endif // LIBCAT_SECURITY
#endif // SECURE_HANDSHAKE_H