Fix conditional build.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2026-05-13 00:37:06 +02:00
parent d868a351da
commit 4507bb68a6
2 changed files with 3 additions and 3 deletions

View File

@@ -62,7 +62,7 @@ static int get_macos_serial(uint8_t *out) {
#pragma comment(lib, "wbemuuid.lib")
int get_system_uuid(char *out) {
static int get_system_uuid(char *out) {
char serial[64] = {0};
HRESULT hr;
IWbemLocator *locator = NULL;
@@ -184,7 +184,7 @@ static int append_field(char *out, size_t out_len, const char *prefix,const char
return 0;
}
int get_linux_hardware_id(char *out) {
static int get_linux_hardware_id(char *out) {
if (!out) {
return -1;
}

View File

@@ -21,7 +21,7 @@
#include <stdint.h>
#if !defined (PICO_PLATFORM)
#if __APPLE__
#if defined(__APPLE__) || defined(_MSC_VER) || defined(__linux__)
#define PICO_UNIQUE_BOARD_ID_SIZE_BYTES 16
#else
#define PICO_UNIQUE_BOARD_ID_SIZE_BYTES 8