Skip to content

Commit

Permalink
helper_functions.hpp: moved defines at the top of header
Browse files Browse the repository at this point in the history
  • Loading branch information
SmileyAG committed Mar 13, 2024
1 parent cdbab0c commit 63654a1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions BunnymodXT/helper_functions.hpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#pragma once

namespace helper_functions
{
#ifdef _WIN32
#ifdef _WIN32
#define DLL_EXTENSION ".dll"
#define PATH_SLASH '\\'
#else
#else
#define DLL_EXTENSION ".so"
#define PATH_SLASH '/'
#endif
#endif

namespace helper_functions
{
void com_fixslashes(std::string &str);
const char *swap_lib(const char* current_lib_path, std::string new_lib_path, const char *start);
void crash_if_failed(std::string str);
Expand Down

0 comments on commit 63654a1

Please sign in to comment.