Skip to content

Commit

Permalink
Define __USE_GNU by default for libcrystax
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Moskalchuk <dm@crystax.net>
  • Loading branch information
dmsck committed Jan 21, 2016
1 parent f6048d4 commit 9041d6a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libc/include/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ extern int sched_setparam(pid_t, const struct sched_param*);
extern int sched_getparam(pid_t, struct sched_param*);
extern int sched_rr_get_interval(pid_t, struct timespec*);

#if defined(__CRYSTAX__)
#define __USE_GNU 1
#endif

#if defined(__USE_GNU)

extern int clone(int (*)(void*), void*, int, void*, ...);
Expand Down

0 comments on commit 9041d6a

Please sign in to comment.