VirtualBox

Ignore:
Timestamp:
Nov 30, 2007 2:21:05 PM (17 years ago)
Author:
vboxsync
Message:

Guest Additions (Linux): replaced compiler_assert by AssertCompiler in the kernel module

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/module/hgcmcall.c

    r4996 r5893  
    2424#include "vboxmod.h"
    2525#include "waitcompat.h"
     26
    2627#include <VBox/log.h>
     28#include <iprt/assert.h>
    2729
    2830
     
    290292    int rc;
    291293
    292     compiler_assert(_IOC_SIZE(IOCTL_VBOXGUEST_HGCM_CALL) == sizeof(VBoxGuestHGCMCallInfo));
     294    AssertCompiler((_IOC_SIZE(IOCTL_VBOXGUEST_HGCM_CALL) == sizeof(VBoxGuestHGCMCallInfo)));
    293295    /* Get the call header from user space to see how many call parameters there are. */
    294296    if (copy_from_user(&callHeader, (void*)arg, sizeof(callHeader)))
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette