projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
avoid breakage if somebody wrongly defines empty feature test macros
[musl]
/
src
/
ipc
/
shmat.c
diff --git
a/src/ipc/shmat.c
b/src/ipc/shmat.c
index
c6ee400
..
38db92f
100644
(file)
--- a/
src/ipc/shmat.c
+++ b/
src/ipc/shmat.c
@@
-2,7
+2,7
@@
#include "syscall.h"
#include "ipc.h"
#include "syscall.h"
#include "ipc.h"
-#ifdef
__NR
_shmat
+#ifdef
SYS
_shmat
void *shmat(int id, const void *addr, int flag)
{
return (void *)syscall(SYS_shmat, id, addr, flag);
void *shmat(int id, const void *addr, int flag)
{
return (void *)syscall(SYS_shmat, id, addr, flag);