diff options
author | Nikias Bassen | 2013-02-15 22:01:44 +0100 |
---|---|---|
committer | Nikias Bassen | 2013-02-15 22:01:44 +0100 |
commit | 630203f8700d8dcf9be661695418dbbddbe42df4 (patch) | |
tree | 2f66a3219f8002715d0e3f68f631d9029b27f62a /util/src/platforms/windows | |
parent | 598c36b5c4fa71821c04584f093295180aaa5086 (diff) | |
download | axis2c-630203f8700d8dcf9be661695418dbbddbe42df4.tar.gz axis2c-630203f8700d8dcf9be661695418dbbddbe42df4.tar.bz2 |
util: fixed building on mingw32
Diffstat (limited to 'util/src/platforms/windows')
-rw-r--r-- | util/src/platforms/windows/Makefile.am | 27 | ||||
-rw-r--r-- | util/src/platforms/windows/axutil_windows.c | 4 |
2 files changed, 30 insertions, 1 deletions
diff --git a/util/src/platforms/windows/Makefile.am b/util/src/platforms/windows/Makefile.am new file mode 100644 index 0000000..c0230d2 --- /dev/null +++ b/util/src/platforms/windows/Makefile.am @@ -0,0 +1,27 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +if HOST_OS_MINGW +noinst_LTLIBRARIES = libaxis2_windows.la + +libaxis2_windows_la_SOURCES = axutil_windows.c uuid_gen_windows.c\ + date_time_util_windows.c dir_windows.c\ + getopt_windows.c\ + thread_windows.c thread_mutex_windows.c +libaxis2_windows_la_LIBADD = -lws2_32 -lrpcrt4 + +INCLUDES = -I$(top_builddir)/include \ + -I$(top_builddir)/include/platforms \ + -I$(top_builddir)/include/platforms/windows +endif diff --git a/util/src/platforms/windows/axutil_windows.c b/util/src/platforms/windows/axutil_windows.c index 5e37abb..add6cc2 100644 --- a/util/src/platforms/windows/axutil_windows.c +++ b/util/src/platforms/windows/axutil_windows.c @@ -17,7 +17,9 @@ #include <windows/axutil_windows.h> #include <stdio.h> - +#ifdef __MINGW32__ +#include <stdint.h> +#endif /* |