|
|
1.1 ! root 1: /* (-lgl ! 2: * COHERENT Version 3.2 ! 3: * Copyright (c) 1982, 1993 by Mark Williams Company. ! 4: * All rights reserved. May not be copied without permission. ! 5: -lgl) */ ! 6: /* ! 7: * stddef.h ! 8: * C common definition header. ! 9: * Draft Proposed ANSI C Standard, Section 4.1.5, 5/13/88 draft. ! 10: */ ! 11: ! 12: #ifndef __STDDEF_H__ ! 13: #define __STDDEF_H__ ! 14: ! 15: /* Types. */ ! 16: #ifndef _PTRDIFF_T ! 17: #define _PTRDIFF_T ! 18: #if _LARGE ! 19: typedef long ptrdiff_t; /* pointer difference type */ ! 20: #else ! 21: typedef int ptrdiff_t; /* pointer difference type */ ! 22: #endif ! 23: #endif ! 24: ! 25: #include <common/_size.h> ! 26: #include <common/_wchar.h> ! 27: #include <common/_null.h> ! 28: ! 29: #define offsetof(s,id) ((size_t)&(((s *)0)->id)) ! 30: /* offset of member id in struct s */ ! 31: ! 32: #endif /* ! defined (__STDDEF_H__) */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.