mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-05 07:40:40 +02:00
buildsystem: handle the IS_WINDOWS macro
On Windows target systems set the IS_WINDOWS=1 macro by the buildsystem. Change-Id: I334708f2dec08ec9ca6ad4161fbd7fe22ac023a6 Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/58277 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:

committed by
Nico Huber

parent
494180096c
commit
c9d947576b
@ -20,13 +20,6 @@
|
||||
#ifndef __PLATFORM_H__
|
||||
#define __PLATFORM_H__ 1
|
||||
|
||||
// Helper defines for operating systems
|
||||
#if defined(_WIN32) || defined(_WIN64) || defined(__WIN32__) || defined(__WINDOWS__)
|
||||
#define IS_WINDOWS 1
|
||||
#else
|
||||
#define IS_WINDOWS 0
|
||||
#endif
|
||||
|
||||
// Likewise for target architectures
|
||||
#if defined (__i386__) || defined (__x86_64__) || defined(__amd64__)
|
||||
#define IS_X86 1
|
||||
|
Reference in New Issue
Block a user