Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 1848f8e in mainline


Ignore:
Timestamp:
2018-01-15T21:40:49Z (4 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master
Children:
bc1b297
Parents:
b5746a2
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-15 21:20:07)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-15 21:40:49)
Message:

Instead of defining _HELENOS_SOURCE in each individual file, put it in CFLAGS.

Location:
uspace
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    rb5746a2 r1848f8e  
    176176COMMON_CFLAGS = $(INCLUDES_FLAGS) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
    177177        -ffreestanding -fno-builtin -nostdlib -nostdinc -fexec-charset=UTF-8 \
    178         -finput-charset=UTF-8 -D__$(ENDIANESS)__ -fno-common \
     178        -finput-charset=UTF-8 -D__$(ENDIANESS)__ -D_HELENOS_SOURCE -fno-common \
    179179        -fdebug-prefix-map=$(realpath $(ROOT_PATH))=.
    180180
  • uspace/lib/c/generic/malloc.c

    rb5746a2 r1848f8e  
    3333/** @file
    3434 */
    35 
    36 #define _HELENOS_SOURCE
    3735
    3836#include <malloc.h>
Note: See TracChangeset for help on using the changeset viewer.