This compiles on macos for x86_64, at least.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4485 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2023-10-04 23:20:57 +00:00
parent 6302565942
commit 31af27529e
5 changed files with 69 additions and 17 deletions

View File

@ -25,14 +25,17 @@
#include <openssl/crypto.h>
#ifndef _WIN32
#include <assert.h>
#include <string.h>
#include <stdio.h>
#if !defined(_WIN32)
#include <unistd.h>
#endif
#include <assert.h>
#if !defined(__APPLE__)
#include <malloc.h>
#include <string.h>
#include <stdio.h>
#endif
#if !defined(_countof)
#define _countof(a) ((int)(sizeof((a)) / sizeof(*(a))))