From 9a76f4f81d32172c8fb47f6624fb3df677f1a55c Mon Sep 17 00:00:00 2001 From: Matthew Kilgore Date: Mon, 12 Feb 2024 00:47:08 -0500 Subject: [PATCH] Fix warnings about redefinition of macros --- internal/c/common.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/c/common.h b/internal/c/common.h index aac7daef7..3e241e5d8 100644 --- a/internal/c/common.h +++ b/internal/c/common.h @@ -1,17 +1,17 @@ // Fill out dependency macros -#ifndef DEPENDENCY_NO_SOCKETS +#if !defined(DEPENDENCY_NO_SOCKETS) && !defined(DEPENDENCY_SOCKETS) # define DEPENDENCY_SOCKETS #endif -#ifndef DEPENDENCY_NO_PRINTER +#if !defined(DEPENDENCY_NO_PRINTER) && !defined(DEPENDENCY_PRINTER) # define DEPENDENCY_PRINTER #endif -#ifndef DEPENDENCY_NO_ICON +#if !defined(DEPENDENCY_NO_ICON) && !defined(DEPENDENCY_ICON) # define DEPENDENCY_ICON #endif -#ifndef DEPENDENCY_NO_SCREENIMAGE +#if !defined(DEPENDENCY_NO_SCREENIMAGE) && !defined(DEPENDENCY_SCREENIMAGE) # define DEPENDENCY_SCREENIMAGE #endif