msvc fixes
This commit is contained in:
10
msvcc.sh
10
msvcc.sh
@@ -171,7 +171,15 @@ do
|
|||||||
shift 1
|
shift 1
|
||||||
;;
|
;;
|
||||||
-l*)
|
-l*)
|
||||||
linkargs="$linkargs lib${1#-l}.a}"
|
case $1
|
||||||
|
in
|
||||||
|
-lffi)
|
||||||
|
linkargs="$linkargs lib${1#-l}.a"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
linkargs="$linkargs ${1#-l}.lib"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
shift 1
|
shift 1
|
||||||
;;
|
;;
|
||||||
-W|-Wextra)
|
-W|-Wextra)
|
||||||
|
|||||||
@@ -79,12 +79,14 @@
|
|||||||
#define PRIdLL "ld"
|
#define PRIdLL "ld"
|
||||||
#undef PRIuLL
|
#undef PRIuLL
|
||||||
#define PRIuLL "lu"
|
#define PRIuLL "lu"
|
||||||
|
#ifndef _MSC_VER
|
||||||
#define PRId8 "hd"
|
#define PRId8 "hd"
|
||||||
#define PRIu8 "hu"
|
#define PRIu8 "hu"
|
||||||
#define PRId64 "ld"
|
#define PRId64 "ld"
|
||||||
#define PRIu64 "lu"
|
#define PRIu64 "lu"
|
||||||
#define PRIuPTR "lu"
|
#define PRIuPTR "lu"
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* PA HP-UX kludge. */
|
/* PA HP-UX kludge. */
|
||||||
#if defined(__hppa__) && defined(__hpux__) && !defined(PRIuPTR)
|
#if defined(__hppa__) && defined(__hpux__) && !defined(PRIuPTR)
|
||||||
|
|||||||
Reference in New Issue
Block a user