You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
643 B
30 lines
643 B
// Just to ensure we are C++-clean. This should not spit too much noise |
|
|
|
/* Copyright 2011 George Danchev <danchev@spnet.net> |
|
* Released into the public domain |
|
*/ |
|
|
|
#if __WORDSIZE == 32 |
|
#define _LARGEFILE_SOURCE 1 |
|
#define _FILE_OFFSET_BITS 64 |
|
#endif |
|
|
|
#include <iostream> |
|
#include <inttypes.h> |
|
|
|
//extern "C" { |
|
#include "xorriso/xorriso.h" |
|
//} |
|
|
|
int main() { |
|
int major=-1, minor=-1, micro=-1; |
|
Xorriso__version(&major, &minor, µ); |
|
if (major<0 || minor<0 || micro<0) |
|
return -1; |
|
std::cout |
|
<< " major:" << major |
|
<< " minor:" << minor |
|
<< " micro:" << micro |
|
; |
|
return 0; |
|
}
|
|
|