summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorsvoj@mysql.com <>2005-05-20 19:42:37 +0500
committersvoj@mysql.com <>2005-05-20 19:42:37 +0500
commit5ce823ec289b6533af40433bf442f1567a44bf6f (patch)
treea86e6aa2656df55a07e2ca1f33b71babdf0587d7 /extra
parentd8859b2ee287cf080441efed74d93d60e4c9088f (diff)
parentaacdad843633a8de44467e0583cade3df3da6da3 (diff)
downloadmariadb-git-5ce823ec289b6533af40433bf442f1567a44bf6f.tar.gz
Merge mysqldev@production.mysql.com:my/mysql-5.0-build
into mysql.com:/home/svoj/devel/mysql/mysql-5.0-build
Diffstat (limited to 'extra')
-rw-r--r--extra/yassl/include/buffer.hpp2
-rw-r--r--extra/yassl/include/log.hpp2
-rw-r--r--extra/yassl/include/socket_wrapper.hpp2
-rw-r--r--extra/yassl/mySTL/stdexcept.hpp2
-rw-r--r--extra/yassl/mySTL/vector.hpp2
-rw-r--r--extra/yassl/src/ssl.cpp2
-rw-r--r--extra/yassl/taocrypt/include/block.hpp6
-rw-r--r--extra/yassl/taocrypt/include/file.hpp2
-rw-r--r--extra/yassl/taocrypt/include/integer.hpp2
-rw-r--r--extra/yassl/taocrypt/include/runtime.hpp2
-rw-r--r--extra/yassl/taocrypt/src/dh.cpp2
11 files changed, 11 insertions, 15 deletions
diff --git a/extra/yassl/include/buffer.hpp b/extra/yassl/include/buffer.hpp
index 126bdbc19b7..cdf44ee60a5 100644
--- a/extra/yassl/include/buffer.hpp
+++ b/extra/yassl/include/buffer.hpp
@@ -27,7 +27,7 @@
#ifndef yaSSL_BUFFER_HPP
#define yaSSL_BUFFER_HPP
-#include <cassert> // assert
+#include <assert.h> // assert
#include "yassl_error.hpp" // Error
#include "memory.hpp" // mySTL::auto_ptr
#include "algorithm.hpp" // mySTL::swap
diff --git a/extra/yassl/include/log.hpp b/extra/yassl/include/log.hpp
index 5753bb4502d..c20116901ad 100644
--- a/extra/yassl/include/log.hpp
+++ b/extra/yassl/include/log.hpp
@@ -30,7 +30,7 @@
#include "socket_wrapper.hpp"
#ifdef YASSL_LOG
-#include <cstdio>
+#include <stdio.h>
#endif
namespace yaSSL {
diff --git a/extra/yassl/include/socket_wrapper.hpp b/extra/yassl/include/socket_wrapper.hpp
index dddbd65e220..2a4ac142ec8 100644
--- a/extra/yassl/include/socket_wrapper.hpp
+++ b/extra/yassl/include/socket_wrapper.hpp
@@ -29,7 +29,7 @@
#ifndef yaSSL_SOCKET_WRAPPER_HPP
#define yaSSL_SOCKET_WRAPPER_HPP
-#include <cassert>
+#include <assert.h>
#ifdef WIN32
#include <winsock2.h>
diff --git a/extra/yassl/mySTL/stdexcept.hpp b/extra/yassl/mySTL/stdexcept.hpp
index 817861438a5..7b797f43c2b 100644
--- a/extra/yassl/mySTL/stdexcept.hpp
+++ b/extra/yassl/mySTL/stdexcept.hpp
@@ -28,7 +28,7 @@
#define mySTL_STDEXCEPT_HPP
-#include <cstring> // strncpy
+#include <string.h> // strncpy
namespace mySTL {
diff --git a/extra/yassl/mySTL/vector.hpp b/extra/yassl/mySTL/vector.hpp
index 7f1f99295e4..6d5a9b6c057 100644
--- a/extra/yassl/mySTL/vector.hpp
+++ b/extra/yassl/mySTL/vector.hpp
@@ -31,7 +31,7 @@
#include "helpers.hpp" // construct, destory, fill, etc.
#include "algorithm.hpp" // swap
#include <new> // ::operator new and delete, placement too
-#include <cassert> // assert
+#include <assert.h> // assert
namespace mySTL {
diff --git a/extra/yassl/src/ssl.cpp b/extra/yassl/src/ssl.cpp
index 065b3c260bf..53bd8a75ab6 100644
--- a/extra/yassl/src/ssl.cpp
+++ b/extra/yassl/src/ssl.cpp
@@ -36,7 +36,7 @@
#include "openssl/ssl.h"
#include "handshake.hpp"
#include "yassl_int.hpp"
-#include <cstdio>
+#include <stdio.h>
namespace yaSSL {
diff --git a/extra/yassl/taocrypt/include/block.hpp b/extra/yassl/taocrypt/include/block.hpp
index 6e96ec9cc35..f490fb0b6e7 100644
--- a/extra/yassl/taocrypt/include/block.hpp
+++ b/extra/yassl/taocrypt/include/block.hpp
@@ -31,7 +31,7 @@
#include "stdexcept.hpp" // mySTL::runtime_error
#include "misc.hpp"
#include <string.h> // memcpy
-#include <cstddef> // ptrdiff_t
+#include <stddef.h> // ptrdiff_t
#if defined(_MSC_VER) && defined(_CRTAPI1)
@@ -49,11 +49,7 @@ class AllocatorBase
public:
typedef T value_type;
typedef size_t size_type;
-#ifdef TAOCRYPT_MSVCRT6
typedef ptrdiff_t difference_type;
-#else
- typedef std::ptrdiff_t difference_type;
-#endif
typedef T* pointer;
typedef const T* const_pointer;
typedef T& reference;
diff --git a/extra/yassl/taocrypt/include/file.hpp b/extra/yassl/taocrypt/include/file.hpp
index b27ab3aebf3..fe7e1073c99 100644
--- a/extra/yassl/taocrypt/include/file.hpp
+++ b/extra/yassl/taocrypt/include/file.hpp
@@ -29,7 +29,7 @@
#include "misc.hpp"
#include "block.hpp"
#include "error.hpp"
-#include <cstdio>
+#include <stdio.h>
namespace TaoCrypt {
diff --git a/extra/yassl/taocrypt/include/integer.hpp b/extra/yassl/taocrypt/include/integer.hpp
index 94383f8061d..3713d09d9f9 100644
--- a/extra/yassl/taocrypt/include/integer.hpp
+++ b/extra/yassl/taocrypt/include/integer.hpp
@@ -29,7 +29,7 @@
#include "block.hpp"
#include "random.hpp"
#include "file.hpp"
-#include <cstring>
+#include <string.h>
#include "algorithm.hpp" // mySTL::swap
diff --git a/extra/yassl/taocrypt/include/runtime.hpp b/extra/yassl/taocrypt/include/runtime.hpp
index e2c04af44f4..43f1b72fd51 100644
--- a/extra/yassl/taocrypt/include/runtime.hpp
+++ b/extra/yassl/taocrypt/include/runtime.hpp
@@ -31,7 +31,7 @@
#if __GNUC__ > 2
-#include <cstdlib>
+#include <stdlib.h>
static void* operator new (size_t sz)
diff --git a/extra/yassl/taocrypt/src/dh.cpp b/extra/yassl/taocrypt/src/dh.cpp
index e5a6a562c52..af50d471b52 100644
--- a/extra/yassl/taocrypt/src/dh.cpp
+++ b/extra/yassl/taocrypt/src/dh.cpp
@@ -26,7 +26,7 @@
#include "runtime.hpp"
#include "dh.hpp"
#include "asn.hpp"
-#include <cmath>
+#include <math.h>
namespace TaoCrypt {