mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
minus the vendor Makefiles Provide directions for how to bootstrap the vendor sources in FREEBSD-upgrade MFC after 2 weeks Discussed with: rpaulo Sponsored by: EMC / Isilon Storage Division
12 lines
229 B
C
12 lines
229 B
C
#ifndef H_COMMON_H
|
|
#define H_COMMON_H
|
|
|
|
#include <string.h>
|
|
|
|
#define PTHREAD_REQUIRE(x) \
|
|
do { \
|
|
int ret = (x); \
|
|
ATF_REQUIRE_MSG(ret == 0, "%s: %s", #x, strerror(ret)); \
|
|
} while (0)
|
|
|
|
#endif // H_COMMON_H
|