From b17033d587dc61598b1ee8d67b18c17c41415b9f Mon Sep 17 00:00:00 2001 From: mq1n Date: Tue, 2 Sep 2025 20:40:04 +0300 Subject: [PATCH] remove OS_FREEBSD preventation from xmd5 --- src/libthecore/xmd5.cpp | 4 ---- src/libthecore/xmd5.h | 5 +---- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/libthecore/xmd5.cpp b/src/libthecore/xmd5.cpp index 3608929..b3bec1d 100644 --- a/src/libthecore/xmd5.cpp +++ b/src/libthecore/xmd5.cpp @@ -1,7 +1,5 @@ #include "stdafx.h" -#ifndef OS_FREEBSD - /* * luau (Lib Update/Auto-Update): Simple Update Library * Copyright (C) 2003 David Eklund @@ -341,5 +339,3 @@ void MD5Transform(uint32_t buf[4], uint32_t const in[16]) buf[2] += c; buf[3] += d; } - -#endif // #ifndef OS_FREEBSD \ No newline at end of file diff --git a/src/libthecore/xmd5.h b/src/libthecore/xmd5.h index dca5327..b1c31b7 100644 --- a/src/libthecore/xmd5.h +++ b/src/libthecore/xmd5.h @@ -1,5 +1,4 @@ -#ifndef OS_FREEBSD - +#pragma once /* * luau (Lib Update/Auto-Update): Simple Update Library * Copyright (C) 2003 David Eklund @@ -65,5 +64,3 @@ char* MD5End(MD5_CTX *, char *); char* lutil_md5_file(const char *filename, char *buf); char* lutil_md5_data(const unsigned char *data, unsigned int len, char *buf); - -#endif // #ifndef OS_FREEBSD