aboutsummaryrefslogtreecommitdiff
path: root/include/platform.h
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2021-01-14 13:28:49 +0000
committerRon Yorston <rmy@pobox.com>2021-01-14 13:28:49 +0000
commit89963b524d211e1aec12b72b3725be05ee95c8cf (patch)
tree48590aef62b7ee7686b7898256f29def8d9c50b9 /include/platform.h
parent9aa5a829070392c2ac6494d0c4e674c0c2bc7dab (diff)
parent2b7c1aa92c68524559a2067609d09309d5c09adc (diff)
downloadbusybox-w32-89963b524d211e1aec12b72b3725be05ee95c8cf.tar.gz
busybox-w32-89963b524d211e1aec12b72b3725be05ee95c8cf.tar.bz2
busybox-w32-89963b524d211e1aec12b72b3725be05ee95c8cf.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'include/platform.h')
-rw-r--r--include/platform.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/platform.h b/include/platform.h
index f1c09c4d2..ea97d2682 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -335,7 +335,7 @@ typedef unsigned smalluint;
335#endif 335#endif
336 336
337/* Define bb_setpgrp */ 337/* Define bb_setpgrp */
338#if defined(__digital__) && defined(__unix__) 338#if (defined(__digital__) && defined(__unix__)) || defined(__FreeBSD__)
339/* use legacy setpgrp(pid_t, pid_t) for now. move to platform.c */ 339/* use legacy setpgrp(pid_t, pid_t) for now. move to platform.c */
340# define bb_setpgrp() do { pid_t __me = getpid(); setpgrp(__me, __me); } while (0) 340# define bb_setpgrp() do { pid_t __me = getpid(); setpgrp(__me, __me); } while (0)
341#else 341#else
@@ -358,6 +358,8 @@ typedef unsigned smalluint;
358# define ALIGN2 358# define ALIGN2
359# define ALIGN4 359# define ALIGN4
360#endif 360#endif
361#define ALIGN8 __attribute__((aligned(8)))
362#define ALIGN_PTR __attribute__((aligned(sizeof(void*))))
361 363
362/* 364/*
363 * For 0.9.29 and svn, __ARCH_USE_MMU__ indicates no-mmu reliably. 365 * For 0.9.29 and svn, __ARCH_USE_MMU__ indicates no-mmu reliably.