Define PROG, for newer versions of skalibs
Needed to build from our source tarball on some Gentoo systems. Closes #239. Closes #254.
This commit is contained in:
committed by
Keith Winstein
parent
7ac8b87b8f
commit
5cff456400
@@ -46,6 +46,11 @@
|
||||
#include "locale_utils.h"
|
||||
#include "fatal_assert.h"
|
||||
|
||||
/* For newer skalibs */
|
||||
extern "C" {
|
||||
const char *PROG = "benchmark";
|
||||
}
|
||||
|
||||
const int ITERATIONS = 100000;
|
||||
|
||||
using namespace Terminal;
|
||||
|
||||
@@ -52,6 +52,11 @@
|
||||
#include "locale_utils.h"
|
||||
#include "sigfd.h"
|
||||
|
||||
/* For newer skalibs */
|
||||
extern "C" {
|
||||
const char *PROG = "termemu";
|
||||
}
|
||||
|
||||
const size_t buf_size = 16384;
|
||||
|
||||
void emulate_terminal( int fd );
|
||||
|
||||
Reference in New Issue
Block a user