4257467fec
1. header file and source file protections using #ifdef WIN32 2. new files and directories to support windows functionality 3. appropritate linkage symbols added (OMPI_DECLSPEC) for windows 4. some functions are unimplemented on the windows side. this is mostly because there might not be need to implement it in windows land. eg., forking a daemon off 5. Introduced locking mechanisms for windows This commit was SVN r3286.
15 строки
178 B
C
15 строки
178 B
C
#include "hello.h"
|
|
#include <stdio.h>
|
|
|
|
struct new_anju {
|
|
hello_t *hell;
|
|
} ;
|
|
struct new_anju boo = {&anju};
|
|
|
|
int main() {
|
|
|
|
boo.hell->i();
|
|
boo.hell->j();
|
|
return 0;
|
|
}
|