Added new [FSSH]_B_HAIKU_{32,64}_BIT macros.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34256 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -127,6 +127,14 @@
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// #pragma mark - fssh_defs.h
|
// #pragma mark - fssh_defs.h
|
||||||
|
|
||||||
|
// 32/64 bitness
|
||||||
|
#ifdef FSSH_B_HAIKU_64_BIT
|
||||||
|
# define B_HAIKU_64_BIT FSSH_B_HAIKU_64_BIT
|
||||||
|
#endif
|
||||||
|
#ifdef FSSH_B_HAIKU_32_BIT
|
||||||
|
# define B_HAIKU_32_BIT FSSH_B_HAIKU_32_BIT
|
||||||
|
#endif
|
||||||
|
|
||||||
// Limits
|
// Limits
|
||||||
#define B_DEV_NAME_LENGTH FSSH_B_DEV_NAME_LENGTH
|
#define B_DEV_NAME_LENGTH FSSH_B_DEV_NAME_LENGTH
|
||||||
#define B_FILE_NAME_LENGTH FSSH_B_FILE_NAME_LENGTH
|
#define B_FILE_NAME_LENGTH FSSH_B_FILE_NAME_LENGTH
|
||||||
|
|||||||
@@ -1,13 +1,21 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2007, Ingo Weinhold, [email protected].
|
* Copyright 2007-2009, Ingo Weinhold, [email protected].
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
#ifndef _FSSH_DEFS_H
|
#ifndef _FSSH_DEFS_H
|
||||||
#define _FSSH_DEFS_H
|
#define _FSSH_DEFS_H
|
||||||
|
|
||||||
|
|
||||||
#include "fssh_types.h"
|
#include "fssh_types.h"
|
||||||
|
|
||||||
|
|
||||||
|
// 32/64 bitness
|
||||||
|
#ifdef HAIKU_HOST_PLATFORM_64_BIT
|
||||||
|
# define FSSH_B_HAIKU_64_BIT 1
|
||||||
|
#else
|
||||||
|
# define FSSH_B_HAIKU_32_BIT 1
|
||||||
|
#endif
|
||||||
|
|
||||||
// Limits
|
// Limits
|
||||||
#define FSSH_B_DEV_NAME_LENGTH 128
|
#define FSSH_B_DEV_NAME_LENGTH 128
|
||||||
#define FSSH_B_FILE_NAME_LENGTH 256
|
#define FSSH_B_FILE_NAME_LENGTH 256
|
||||||
|
|||||||
Reference in New Issue
Block a user