ReactOS
0.4.15-dev-6675-gcbc63d8
osdep.h
Go to the documentation of this file.
1
2
// Copyright (c) 2007 Qumranet All Rights Reserved
3
//
4
// Module Name:
5
// osdep.h
6
//
7
// Abstract:
8
// Windows OS dependent definitions of data types
9
//
10
// Author:
11
// Yan Vugenfirer - February 2007.
12
//
14
15
#pragma once
16
17
#include <ntddk.h>
18
19
#ifdef __REACTOS__
20
#ifdef __GNUC__
21
#undef FORCEINLINE
22
#define FORCEINLINE __attribute__((__always_inline__))
23
#endif
24
#endif
25
26
#ifndef __REACTOS__
27
#define ENOSPC 1
28
#endif
29
30
#if !defined(__cplusplus) && !defined(bool)
31
// Important note: in MSFT C++ bool length is 1 bytes
32
// C++ does not define length of bool
33
// inconsistent definition of 'bool' may create compatibility problems
34
#define bool u8
35
#define false FALSE
36
#define true TRUE
37
#endif
38
39
#define SMP_CACHE_BYTES 64
drivers
network
dd
netkvm
virtio
osdep.h
Generated on Thu Sep 28 2023 06:05:21 for ReactOS by
1.9.6