You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
1.1 KiB

--- !ditz.rubyforge.org,2008-03-06/issue
title: improve platform detection in headers
desc: |-
Reconcile detection between duk_features.h and duk_internal.h. Feature
macros (e.g. _XOPEN_SOURCE) must be defined before *any* system headers
are included. On the other hand, some detection (like endianness) depends
on system headers.
One alternative is to move feature macro determination from duk_internal.h
to duk_features.h. Duk_features.h could do whatever checks are necessary
and define feature macros, before including any headers needed for further
platform detection (like endianness headers). Once complete, duk_internal.h
could include <stdio.h> and friends.
type: :task
component: duk
release: v0.6
reporter: sva <sami.vaarala@poplatek.fi>
status: :closed
disposition: :fixed
creation_time: 2013-09-16 00:26:12.151791 Z
references: []
id: ffc28e8dbe334468a75143ec0d33de989e0280d4
log_events:
- - 2013-09-16 00:26:12.431544 Z
- sva <sami.vaarala@poplatek.fi>
- created
- ""
- - 2013-09-16 00:43:42.293989 Z
- sva <sami.vaarala@poplatek.fi>
- closed with disposition fixed
- ""