elks-enhanced
public
Read
Owner: themaster
Branch: master
Commits: 6893
Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL
Code
Commits
History
Branches
Bug Reports
Discussions
Compare
Settings
elks-enhanced
/
libc
/
include
/
watcom
/
stddef.h
File editor
/*************************************************************************** * FILE: stddef.h/cstddef (Standard definitions) * * ========================================================================= * * Open Watcom Project * * Copyright (c) 2004-2024 The Open Watcom Contributors. All Rights Reserved. * Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved. * * This file is automatically generated. Do not edit directly. * * ========================================================================= * * Description: This header is part of the C/C++ standard library. It * introduces certain commonly needed type names and * supplies the offsetof macro. ***************************************************************************/ #ifndef _STDDEF_H_INCLUDED #define _STDDEF_H_INCLUDED #ifndef _ENABLE_AUTODEPEND #pragma read_only_file #endif #ifdef __cplusplus #include <cstddef> // C99 types in stddef.h #ifndef _SIZE_T_DEFINED #define _SIZE_T_DEFINED #define _SIZE_T_DEFINED_ using std::size_t; #endif #ifndef _PTRDIFF_T_DEFINED #define _PTRDIFF_T_DEFINED #define _PTRDIFF_T_DEFIEND_ using std::ptrdiff_t; #endif #else /* __cplusplus not defined */ #ifndef __COMDEF_H_INCLUDED #include <_comdef.h> #endif #ifndef NULL #ifdef __RDOSDEV__ #define NULL 0 #else #define NULL ((void *)0) #endif #endif #define offsetof(__typ,__id) ((size_t)((char *)&(((__typ*)0)->__id) - (char *)0)) #ifndef _WCHAR_T_DEFINED #define _WCHAR_T_DEFINED #define _WCHAR_T_DEFINED_ typedef unsigned short wchar_t; #endif #ifndef _SIZE_T_DEFINED #define _SIZE_T_DEFINED #define _SIZE_T_DEFINED_ typedef unsigned size_t; typedef size_t __w_size_t; #endif #ifndef _PTRDIFF_T_DEFINED #define _PTRDIFF_T_DEFINED #define _PTRDIFF_T_DEFINED_ #ifdef __HUGE__ typedef long ptrdiff_t; #else typedef int ptrdiff_t; #endif #endif #if !defined( _NO_EXT_KEYS ) /* extensions enabled */ #ifdef _M_I86 _WCRTDATA extern int _WCFAR *_threadid; /* pointer to thread id */ #else #define _threadid (__threadid()) _WCRTLINK extern int *__threadid( void ); /* pointer to thread id */ #ifdef __NT__ _WCRTLINK extern unsigned long __threadhandle( void ); #endif #endif #endif /* extensions enabled */ #if defined(__STDC_WANT_LIB_EXT1__) && __STDC_WANT_LIB_EXT1__ == 1 #ifndef _RSIZE_T_DEFINED #define _RSIZE_T_DEFINED typedef size_t rsize_t; #endif #endif /* __STDC_WANT_LIB_EXT1__ */ #endif /* __cplusplus not defined */ #endif
Commit message
This repository is read-only for this account.
Repository snapshot
Current branch
master
Visibility
public
Your access
Read
Remote
Configured
File activity
View file history