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