kopia lustrzana https://github.com/pabr/leansdr
Define VERSION in framework.h
rodzic
fe8771b8ec
commit
031a7a7a51
|
@ -1042,10 +1042,6 @@ void usage(const char *name, FILE *f, int c, const char *info=NULL) {
|
|||
exit(c);
|
||||
}
|
||||
|
||||
#ifndef VERSION
|
||||
#define VERSION "undefined"
|
||||
#endif
|
||||
|
||||
int main(int argc, const char *argv[]) {
|
||||
config cfg;
|
||||
|
||||
|
|
|
@ -211,10 +211,6 @@ void usage(const char *name, FILE *f, int c, const char *info=NULL) {
|
|||
exit(c);
|
||||
}
|
||||
|
||||
#ifndef VERSION
|
||||
#define VERSION "undefined"
|
||||
#endif
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
config cfg;
|
||||
|
||||
|
|
|
@ -1,11 +1,19 @@
|
|||
// This file is part of LeanSDR (c) 2018 <pabr@pabr.org>.
|
||||
// See the toplevel README for more information.
|
||||
|
||||
#ifndef LEANSDR_FRAMEWORK_H
|
||||
#define LEANSDR_FRAMEWORK_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#ifndef VERSION
|
||||
#define VERSION "undefined"
|
||||
#endif
|
||||
|
||||
namespace leansdr {
|
||||
|
||||
void fatal(const char *s) { perror(s); exit(1); }
|
||||
|
|
Ładowanie…
Reference in New Issue