Commit 0c005c81 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

More fixes for the OS X builds.

* src/bin/common_r.hh: Include common_sys.hh first.
* src/sanity/80columns.test: Set LANG.
parent 42665b87
......@@ -22,6 +22,7 @@
#ifndef SPOT_BIN_COMMON_R_HH
#define SPOT_BIN_COMMON_R_HH
#include "common_sys.hh"
#include "ltlvisit/simplify.hh"
#define OPT_R 'r'
......
......@@ -6,9 +6,14 @@ set -e
rm -f failures
LANG=en_US.UTF-8
export LANG
if [ "`echo '{r₁|r₂|r₃}' | wc -m`" != 11 ]; then
# The current local does not grok unicode.
# We still run this test, but only on lines are that purely ascii.
LANG=C
export LANG
# The current locale does not grok unicode.
# We still run this test, but only on lines that are purely ascii.
x='[^ -~]' # This blank is a tab.
else
x='.'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment