Replace CURLOPT_POSTFIELDSIZE_LARGE with CURLOPT_POSTFIELDSIZE
Also adds a more robust interface for setopt that does type checking based on the options used. This fixes one bug where a F32 was passed and interpreted as long. In many cases a U32 or S32 was passed as long, which would fail (only) on a 64bit non-windows big endian machine.
This commit is contained in:
@@ -36,9 +36,10 @@
|
||||
*/
|
||||
|
||||
#include "linden_common.h"
|
||||
# include <set>
|
||||
#include <set>
|
||||
|
||||
#include "volume_catcher.h"
|
||||
#include "llaprpool.h"
|
||||
|
||||
#ifndef LL_WINDOWS
|
||||
#include <unistd.h>
|
||||
@@ -53,7 +54,6 @@ extern "C" {
|
||||
#include <pulse/subscribe.h>
|
||||
#include <pulse/glib-mainloop.h> // There's no special reason why we want the *glib* PA mainloop, but the generic polling implementation seems broken.
|
||||
|
||||
#include "llaprpool.h"
|
||||
#include "apr_dso.h"
|
||||
#ifdef LL_STANDALONE
|
||||
#include <dlfcn.h>
|
||||
|
||||
Reference in New Issue
Block a user