mirror of
https://github.com/reactos/reactos.git
synced 2024-11-09 08:08:38 +00:00
4c37757e81
CORE-15841
39 lines
883 B
C
39 lines
883 B
C
//////////////////////////////////////////////////////////////////////////////////////////
|
|
// Copyright (c) 2007 Qumranet All Rights Reserved
|
|
//
|
|
// Module Name:
|
|
// osdep.h
|
|
//
|
|
// Abstract:
|
|
// Windows OS dependent definitions of data types
|
|
//
|
|
// Author:
|
|
// Yan Vugenfirer - February 2007.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#pragma once
|
|
|
|
#include <ntddk.h>
|
|
|
|
#ifdef __REACTOS__
|
|
#ifdef __GNUC__
|
|
#undef FORCEINLINE
|
|
#define FORCEINLINE __attribute__((__always_inline__))
|
|
#endif
|
|
#endif
|
|
|
|
#ifndef __REACTOS__
|
|
#define ENOSPC 1
|
|
#endif
|
|
|
|
#if !defined(__cplusplus) && !defined(bool)
|
|
// Important note: in MSFT C++ bool length is 1 bytes
|
|
// C++ does not define length of bool
|
|
// inconsistent definition of 'bool' may create compatibility problems
|
|
#define bool u8
|
|
#define false FALSE
|
|
#define true TRUE
|
|
#endif
|
|
|
|
#define SMP_CACHE_BYTES 64
|