Mercurial > projects > ldc
view lphobos/std/c/linux/linuxextern.d @ 650:aa6a0b7968f7
Added test case for bug #100
Removed dubious check for not emitting static private global in other modules without access. This should be handled properly somewhere else, it's causing unresolved global errors for stuff that should work (in MiniD)
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Sun, 05 Oct 2008 17:28:15 +0200 |
parents | 058d3925950e |
children |
line wrap: on
line source
/* Written by Walter Bright. * www.digitalmars.com * Placed into public domain. * Linux(R) is the registered trademark of Linus Torvalds in the U.S. and other * countries. */ /* These are all the globals defined by the linux C runtime library. * Put them separate so they'll be externed - do not link in linuxextern.o */ module std.c.linux.linuxextern; extern extern (C) { void* __libc_stack_end; int __data_start; int _end; int timezone; void *_deh_beg; void *_deh_end; }