mirror of
https://github.com/monero-project/monero.git
synced 2026-08-01 16:37:48 -07:00
extract some basic code from libcryptonote_core into libcryptonote_basic
This commit is contained in:
@@ -2,12 +2,19 @@
|
||||
|
||||
#if defined(__APPLE__)
|
||||
#include <mach-o/getsect.h>
|
||||
|
||||
#ifdef BUILD_SHARED_LIBS
|
||||
#if !defined(__LP64__)
|
||||
const struct mach_header _mh_execute_header;
|
||||
#else
|
||||
const struct mach_header_64 _mh_execute_header;
|
||||
#endif
|
||||
#else
|
||||
#if !defined(__LP64__)
|
||||
extern const struct mach_header _mh_execute_header;
|
||||
#else
|
||||
extern const struct mach_header_64 _mh_execute_header;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
const unsigned char *get_blocks_dat_start(int testnet)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user