Commit 9ea0e00a authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

Define WEXITSTATUS if not available (e.g. on MinGW)

* iface/dve2/dve2.cc: Here.
parent 2c8e5297
// Copyright (C) 2011 Laboratoire de Recherche et Developpement de
// l'Epita (LRDE)
// -*- coding: utf-8 -*-
// Copyright (C) 2011, 2012 Laboratoire de Recherche et Développement
// de l'Epita (LRDE)
//
// This file is part of Spot, a model checking library.
//
......@@ -26,6 +27,11 @@
#include <sys/stat.h>
#include <unistd.h>
// MinGW does not define this.
#ifndef WEXITSTATUS
# define WEXITSTATUS(x) ((x) & 0xff)
#endif
#include "dve2.hh"
#include "misc/hashfunc.hh"
#include "misc/fixpool.hh"
......
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