Merge branch 'fix_iostream_include' into plugin_support
Conflicts: src/zm_image_analyser.h
This commit is contained in:
commit
de2ec868b4
2
src/zm.h
2
src/zm.h
|
@ -33,6 +33,8 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
extern const char* self;
|
extern const char* self;
|
||||||
|
|
||||||
#endif // ZM_H
|
#endif // ZM_H
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <iostream>
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
|
@ -72,7 +72,7 @@ int main( int argc, char *argv[] )
|
||||||
Usage();
|
Usage();
|
||||||
break;
|
break;
|
||||||
case 'v':
|
case 'v':
|
||||||
cout << ZM_VERSION << "\n";
|
std::cout << ZM_VERSION << "\n";
|
||||||
exit(0);
|
exit(0);
|
||||||
default:
|
default:
|
||||||
//fprintf( stderr, "?? getopt returned character code 0%o ??\n", c );
|
//fprintf( stderr, "?? getopt returned character code 0%o ??\n", c );
|
||||||
|
|
|
@ -117,7 +117,7 @@ int main( int argc, char *argv[] )
|
||||||
Usage();
|
Usage();
|
||||||
break;
|
break;
|
||||||
case 'v':
|
case 'v':
|
||||||
cout << ZM_VERSION << "\n";
|
std::cout << ZM_VERSION << "\n";
|
||||||
exit(0);
|
exit(0);
|
||||||
default:
|
default:
|
||||||
//fprintf( stderr, "?? getopt returned character code 0%o ??\n", c );
|
//fprintf( stderr, "?? getopt returned character code 0%o ??\n", c );
|
||||||
|
|
|
@ -140,7 +140,7 @@ int main( int argc, char *argv[] )
|
||||||
Usage();
|
Usage();
|
||||||
break;
|
break;
|
||||||
case 'v':
|
case 'v':
|
||||||
cout << ZM_VERSION << "\n";
|
std::cout << ZM_VERSION << "\n";
|
||||||
exit(0);
|
exit(0);
|
||||||
default:
|
default:
|
||||||
//fprintf( stderr, "?? getopt returned character code 0%o ??\n", c );
|
//fprintf( stderr, "?? getopt returned character code 0%o ??\n", c );
|
||||||
|
|
|
@ -104,7 +104,7 @@ int main(int argc, char** argv) {
|
||||||
printf("-v : This installed version of ZoneMinder\n");
|
printf("-v : This installed version of ZoneMinder\n");
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
case 'v':
|
case 'v':
|
||||||
cout << ZM_VERSION << "\n";
|
std::cout << ZM_VERSION << "\n";
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue