mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Fix compiler errors
This commit is contained in:
parent
169dee7515
commit
3d477eec7a
@ -15,6 +15,7 @@
|
|||||||
#include "handleStreamBuf.h"
|
#include "handleStreamBuf.h"
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#define P3DFILEDOWNLOAD_H
|
#define P3DFILEDOWNLOAD_H
|
||||||
|
|
||||||
#include "p3d_plugin_common.h"
|
#include "p3d_plugin_common.h"
|
||||||
#include "p3DDownload.h"
|
#include "p3dDownload.h"
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
|
@ -281,7 +281,7 @@ TiXmlElement *P3DInstance::
|
|||||||
make_xml() {
|
make_xml() {
|
||||||
TiXmlElement *xinstance = new TiXmlElement("instance");
|
TiXmlElement *xinstance = new TiXmlElement("instance");
|
||||||
xinstance->SetAttribute("id", _instance_id);
|
xinstance->SetAttribute("id", _instance_id);
|
||||||
xinstance->SetAttribute("p3d_filename", _p3d_filename);
|
xinstance->SetAttribute("p3d_filename", _p3d_filename.c_str());
|
||||||
|
|
||||||
switch (_window_type) {
|
switch (_window_type) {
|
||||||
case P3D_WT_embedded:
|
case P3D_WT_embedded:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user