Fixed Windows garbage line endings.

pull/15/head
Jussi Pakkanen 12 years ago
parent 186397c322
commit 43ca3e2546
  1. 8
      test cases/windows/1 basic/meson.build
  2. 10
      test cases/windows/1 basic/prog.c
  3. 8
      test cases/windows/2 winmain/meson.build
  4. 20
      test cases/windows/2 winmain/prog.c
  5. 8
      test cases/windows/3 cpp/meson.build
  6. 14
      test cases/windows/3 cpp/prog.cpp
  7. 8
      test cases/windows/4 winmaincpp/meson.build
  8. 24
      test cases/windows/4 winmaincpp/prog.cpp

@ -1,4 +1,4 @@
project('wintest', 'c')
prog = executable('prog', 'prog.c')
add_test('wintest', prog)
project('wintest', 'c')
prog = executable('prog', 'prog.c')
add_test('wintest', prog)

@ -1,5 +1,5 @@
#include <Windows.h>
int main(int argc, char **argv) {
return 0;
}
#include <Windows.h>
int main(int argc, char **argv) {
return 0;
}

@ -1,4 +1,4 @@
project('winmain', 'c')
exe = executable('prog', 'prog.c')
add_test('winmain', exe)
project('winmain', 'c')
exe = executable('prog', 'prog.c')
add_test('winmain', exe)

@ -1,10 +1,10 @@
#include<windows.h>
int APIENTRY
WinMain(
HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpszCmdLine,
int nCmdShow) {
return 0;
}
#include<windows.h>
int APIENTRY
WinMain(
HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpszCmdLine,
int nCmdShow) {
return 0;
}

@ -1,4 +1,4 @@
project('wincxx', 'cxx')
exe = executable('prog', 'prog.cpp')
add_test('wincxx', exe)
project('wincxx', 'cxx')
exe = executable('prog', 'prog.cpp')
add_test('wincxx', exe)

@ -1,7 +1,7 @@
#include<windows.h>
class Foo;
int main(int argc, char **argv) {
return 0;
}
#include<windows.h>
class Foo;
int main(int argc, char **argv) {
return 0;
}

@ -1,4 +1,4 @@
project('winmaincpp', 'cxx')
exe = executable('prog', 'prog.cpp')
add_test('winmaincpp', exe)
project('winmaincpp', 'cxx')
exe = executable('prog', 'prog.cpp')
add_test('winmaincpp', exe)

@ -1,12 +1,12 @@
#include<windows.h>
class Foo;
int APIENTRY
WinMain(
HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpszCmdLine,
int nCmdShow) {
return 0;
}
#include<windows.h>
class Foo;
int APIENTRY
WinMain(
HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpszCmdLine,
int nCmdShow) {
return 0;
}

Loading…
Cancel
Save