Import of the watch repository from Pebble

This commit is contained in:
Matthieu Jeanson 2024-12-12 16:43:03 -08:00 committed by Katharine Berry
commit 3b92768480
10334 changed files with 2564465 additions and 0 deletions

20
third_party/duma/wscript vendored Normal file
View file

@ -0,0 +1,20 @@
def configure(conf):
pass
def build(bld):
if 'DUMA_DISABLED' in bld.env.DEFINES:
return
import sys
defines = []
if 'linux' in sys.platform:
defines.append('_POSIX_C_SOURCE')
elif 'darwin' in sys.platform:
defines.append('DUMA_SO_PREFER_GETENV')
bld.stlib(source=['duma.c', 'print.c', 'sem_inc.c'],
defines=defines,
target='duma')
# vim:filetype=python